unity-----函數執行順序

Award –> OnEnable à 返回調用函數  à  Star à 下一幀à Update à OnDisable -> OnDestory函數 測試:測試 有一個prefab 叫mono,其上幫有一個腳本 MonoTest。momo爲Active,且MonoTest爲enabled。現用GameObject.Instantiate來實例化此prefab。測試腳本中Awake,Start,
相關文章
相關標籤/搜索