unity-----函数执行顺序

Award –> OnEnable à 返回调用函数  à  Star à 下一帧à Update à OnDisable -> OnDestory函数 测试:测试 有一个prefab 叫mono,其上帮有一个脚本 MonoTest。momo为Active,且MonoTest为enabled。现用GameObject.Instantiate来实例化此prefab。测试脚本中Awake,Start,
相关文章
相关标签/搜索