C# Class GameObjectEx, UnityTemp

ファイルを表示 Open project: BrainProject/UnityTemp Class Usage Examples

Public Methods

Method 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 method

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

FindByTagFromList() public static method

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

FindGameObjectWithNameTag() public static method

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