CG角色进阶造型班第一期B班
项目设置
以下的例子我将会使用OSX上的的Unity 5.1.0p1版本,我将目标平台设置成iOS,这样可以让我们通过Xcode来观察IL2CPP和GC的交流的情况。
using System;
using System.Runtime.InteropServices;
using System.Threading;
using UnityEngine;
public class AnyClass {}
public class HelloWorld : MonoBehaviour {
private static AnyClass staticAnyClass = new AnyClass();
void Start () {
var thread = new Thread(AnotherThread);
thread.Start();