摘要: GameObject go = Instantiate(aaa) ; go.GetComponent<NewBehaviourScript>().Init(); Instantiate一个gameobject后,马上执行一个自定义的方法Init,经过测试发现顺序为Awake Init Start U 阅读全文
posted @ 2017-12-02 23:26 Litmin 阅读(1419) 评论(0) 推荐(0) 编辑