C# Класс UnityContrib.UnityEngine.BaseSelector

Base implementation for selectors. A selector is a component that selects a T:UnityEngine.Transform. The advantage of using this component is that you don't need to write the same find game object code over and over. You can simply attach an instance of a selector to a game object and let that instance find the T:UnityEngine.Transform for you.
Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект

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

Метод Описание
Reselect ( ) : void

Clears the selected T:UnityEngine.Transform so next time P:UnityContrib.UnityEngine.BaseSelector.Selected is called the selection algorithm will reevaluate.

Защищенные методы

Метод Описание
Select ( ) : Transform

When implemented, returns the selected T:UnityEngine.Transform.

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

Reselect() публичный Метод

Clears the selected T:UnityEngine.Transform so next time P:UnityContrib.UnityEngine.BaseSelector.Selected is called the selection algorithm will reevaluate.
public Reselect ( ) : void
Результат void

Select() защищенный абстрактный Метод

When implemented, returns the selected T:UnityEngine.Transform.
protected abstract Select ( ) : Transform
Результат UnityEngine.Transform