C# Класс SelectElementOnEditorMenu, PuzzleGameProject

Manage the selection of items in the Map Editor menu.
Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
currentButton Button
enableTileSet bool
selectedObject GameObject

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

Метод Описание
OnButtonPressOnMenuEditor ( Button buttonOnMenu ) : void

Called when an element is selected on the Map Editor menu. Update the selected object and the current button.

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

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

Called when an element is selected on the Map Editor menu. Update the selected object and the current button.
public OnButtonPressOnMenuEditor ( Button buttonOnMenu ) : void
buttonOnMenu Button Button clicked.
Результат void

Описание свойств

currentButton публичное статическое свойство

Reference to the last button clicked.
public static Button currentButton
Результат Button

enableTileSet публичное статическое свойство

Indicates whether the positioning of elements in the scene is enable. false = disable / true = enable
public static bool enableTileSet
Результат bool

selectedObject публичное статическое свойство

GameObject associated to the last button clicked.
public static GameObject selectedObject
Результат GameObject