Unity - Scripting API: GameObject.layer

docs.unity3d.com docs.unity3d.com