Méthode | Description | |
---|---|---|
AddChild ( GameObject gameObject, GameObject childGameObject ) : void | ||
AddChild ( GameObject gameObject, GameObject childGameObject, bool worldPositionStays ) : void | ||
AddChild ( GameObject gameObject, Transform childTransform ) : void | ||
AddChild ( GameObject gameObject, Transform childTransform, bool worldPositionStays ) : void | ||
DestroyChildren ( GameObject gameObject ) : void | ||
SetLayerRecursively ( GameObject gameObject, int layer ) : void |
Set the layer for game object and all its childs recursively.
|
|
SetTagRecursively ( GameObject gameObject, string tag ) : void |
Set the tag for game object and all its childs recursively.
|
public static AddChild ( GameObject gameObject, GameObject childGameObject ) : void | ||
gameObject | GameObject | |
childGameObject | GameObject | |
Résultat | void |
public static AddChild ( GameObject gameObject, GameObject childGameObject, bool worldPositionStays ) : void | ||
gameObject | GameObject | |
childGameObject | GameObject | |
worldPositionStays | bool | |
Résultat | void |
public static AddChild ( GameObject gameObject, Transform childTransform ) : void | ||
gameObject | GameObject | |
childTransform | Transform | |
Résultat | void |
public static AddChild ( GameObject gameObject, Transform childTransform, bool worldPositionStays ) : void | ||
gameObject | GameObject | |
childTransform | Transform | |
worldPositionStays | bool | |
Résultat | void |
public static DestroyChildren ( GameObject gameObject ) : void | ||
gameObject | GameObject | |
Résultat | void |
public static SetLayerRecursively ( GameObject gameObject, int layer ) : void | ||
gameObject | GameObject | |
layer | int | The layer for game objects. |
Résultat | void |
public static SetTagRecursively ( GameObject gameObject, string tag ) : void | ||
gameObject | GameObject | |
tag | string | The tag for game objects. |
Résultat | void |