摘要:
比如管理器类型(整个场景中只有一个实例)的东西,自身的启动我都放在awake()里面,要访问其他管理器的启动部分就放在start()里面。比如public class Controller{public static Controller instance;private void Awake(){instance = this;this.currentChapterIndex = 1;}public int currentChapterIndex;}public class Cube{private Start(){if(Controller.instance.currentChapterI 阅读全文