void Start() { Init(); Debug.Log("开始热更新测试"); int i = 15; float o = 0; LCL.MainTest mt = new LCL.MainTest(); mt.Test2(i, o); Debug.Log("结束热更新测试"); }
public void Update() { UnityEngine.Profiling.Profiler.BeginSample("TEstGC"); MainTest.TestGC(1); UnityEngine.Profiling.Profiler.EndSample(); }