|
T | GetComponent< T > () |
|
Component | GetComponent (Type type) |
|
Component | GetComponentInChildren (Type type, bool includeInactive) |
|
T | GetComponentInChildren< T > () |
|
T | GetComponentInChildren< T > ([DefaultValue("false")] bool includeInactive) |
|
Component | GetComponentInParent (Type type, bool includeInactive) |
|
T | GetComponentInParent< T > () |
|
T | GetComponentInParent< T > ([DefaultValue("false")] bool includeInactive) |
|
T[] | GetComponents< T > () |
|
void | GetComponents< T > (List< T > results) |
|
T[] | GetComponentsInChildren< T > (bool includeInactive) |
|
void | GetComponentsInChildren< T > (bool includeInactive, List< T > results) |
|
T[] | GetComponentsInChildren< T > () |
|
void | GetComponentsInParent< T > (bool includeInactive, List< T > results) |
|
T[] | GetComponentsInParent< T > (bool includeInactive) |
|
bool | TryGetComponent< T > (out T component) |
|
Component | AddComponent (Type componentType) |
|
T | AddComponent< T > () |
|
void | SetActive (bool value) |
|
void | SendMessage (string methodName, [DefaultValue("null")] object value, [DefaultValue("SendMessageOptions.RequireReceiver")] SendMessageOptions options) |
|
| GameObject (string name) |
|
| GameObject () |
|
| GameObject (string name, params Type[] components) |
|
static GameObject | Find (string name) |
|
unsafe int | GetInstanceID () |
|
override int | GetHashCode () |
|
override bool | Equals (object other) |
|
static void | Destroy (Object obj, [DefaultValue("0.0F")] float t) |
|
static void | DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets) |
|
static Object[] | FindObjectsOfType (Type type, bool includeInactive) |
|
static void | DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target) |
|
override string | ToString () |
|
Definition at line 17 of file GameObject.cs.