English
Appearance
GameObject.layer
GameObject
The layer of the current object.
number
let go = new GameObject("test"); Debug.Log(go.layer);