中文
Appearance
GameObject.instanceID
GameObject
(只读)当前对象的实例ID。
number
let go = new GameObject("test"); Debug.Log(go.instanceID);