Unity生命周期
一.执行顺序
1.reset();
2.Awake();
3.OnEnable();
4.OnLevelWasLoaded();
5.Start();
6.OnApplicationPause();
7.FixedUpdate();
8.Update();
9.LateUpdate();
10.Rendering(渲染)类
11.Coroutines(协调程序)类
12.OnDestroy();
13.OnApplicationQuit();
14.OnDisable();
二.官方流程图