UnityEngine.GameObject
class UnityEngine.GameObject
Fields and Properties:
- UnityEngine.Transform transform
- int layer
- bool active
- bool activeSelf
- bool activeInHierarchy
- bool isStatic
- string tag
- UnityEngine.SceneManagement.Scene scene
- ulong sceneCullingMask
- UnityEngine.GameObject gameObject
- UnityEngine.Component rigidbody
- UnityEngine.Component rigidbody2D
- UnityEngine.Component camera
- UnityEngine.Component light
- UnityEngine.Component animation
- UnityEngine.Component constantForce
- UnityEngine.Component renderer
- UnityEngine.Component audio
- UnityEngine.Component networkView
- UnityEngine.Component collider
- UnityEngine.Component collider2D
- UnityEngine.Component hingeJoint
- UnityEngine.Component particleSystem
Constructors:
- UnityEngine.GameObject.New(string)
- UnityEngine.GameObject.New()
- UnityEngine.GameObject.New(string, params System.Type[])
Methods:
- (static) UnityEngine.GameObject UnityEngine.GameObject.CreatePrimitive(UnityEngine.PrimitiveType)
- UnityEngine.Component GetComponent(System.Type)
- UnityEngine.Component GetComponent(string)
- UnityEngine.Component GetComponentInChildren(System.Type, bool)
- UnityEngine.Component GetComponentInChildren(System.Type)
- UnityEngine.Component GetComponentInParent(System.Type, bool)
- UnityEngine.Component GetComponentInParent(System.Type)
- UnityEngine.Component[] GetComponents(System.Type)
- void GetComponents(System.Type,
System.Collections.Generic.List<UnityEngine.Component>
) - UnityEngine.Component[] GetComponentsInChildren(System.Type)
- UnityEngine.Component[] GetComponentsInChildren(System.Type, bool)
- UnityEngine.Component[] GetComponentsInParent(System.Type)
- UnityEngine.Component[] GetComponentsInParent(System.Type, bool)
- (static) UnityEngine.GameObject UnityEngine.GameObject.FindWithTag(string)
- UnityEngine.Component AddComponent(System.Type)
- UnityEngine.Component AddComponent(string)
- void SetActive(bool)
- void SetActiveRecursively(bool)
- bool CompareTag(string)
- (static) UnityEngine.GameObject UnityEngine.GameObject.FindGameObjectWithTag(string)
- (static) UnityEngine.GameObject[] UnityEngine.GameObject.FindGameObjectsWithTag(string)
- (static) UnityEngine.GameObject UnityEngine.GameObject.Find(string)
- void SampleAnimation(UnityEngine.Object, float)
- void PlayAnimation(UnityEngine.Object)
- void StopAnimation()