Method | Description | |
---|---|---|
GetOrAddComponent ( Component, child, bool set_enable = false ) : T, |
Gets or add a component. Usage example: BoxCollider boxCollider = transform.GetOrAddComponent
|
|
GetOrAddComponent ( GameObject, go ) : T, | ||
walk ( GameObject, o, System.Action |
static public GetOrAddComponent ( Component, child, bool set_enable = false ) : T, | ||
child | Component, | |
set_enable | bool | |
return | T, |
static public GetOrAddComponent ( GameObject, go ) : T, | ||
go | GameObject, | |
return | T, |
public static walk ( GameObject, o, System.Action |
||
o | GameObject, | |
f | System.Action |
|
return | void |