C# Класс GameObjectEx, UnityTemp

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

DestroyObjectWithAllParents() публичный статический Метод

Destroies the object with all parents.
public static DestroyObjectWithAllParents ( Transform child ) : void
child Transform Child.
Результат void

FindByTagFromList() публичный статический Метод

Finds the by tag from list.
public static FindByTagFromList ( List list, string tag ) : GameObject
list List List.
tag string Tag.
Результат GameObject

FindGameObjectWithNameTag() публичный статический Метод

Finds the game object with name and tag.
public static FindGameObjectWithNameTag ( string nameOfObj, string tag ) : GameObject
nameOfObj string
tag string Tag.
Результат GameObject