C# Class GameObjectEx, UnityTemp

Afficher le fichier Open project: BrainProject/UnityTemp Class Usage Examples

Méthodes publiques

Méthode Description
DestroyObjectWithAllParents ( Transform child ) : void

Destroies the object with all parents.

FindByTagFromList ( List list, string tag ) : GameObject

Finds the by tag from list.

FindGameObjectWithNameTag ( string nameOfObj, string tag ) : GameObject

Finds the game object with name and tag.

Method Details

DestroyObjectWithAllParents() public static méthode

Destroies the object with all parents.
public static DestroyObjectWithAllParents ( Transform child ) : void
child Transform Child.
Résultat void

FindByTagFromList() public static méthode

Finds the by tag from list.
public static FindByTagFromList ( List list, string tag ) : GameObject
list List List.
tag string Tag.
Résultat GameObject

FindGameObjectWithNameTag() public static méthode

Finds the game object with name and tag.
public static FindGameObjectWithNameTag ( string nameOfObj, string tag ) : GameObject
nameOfObj string
tag string Tag.
Résultat GameObject