C# Class SelectElementOnEditorMenu, PuzzleGameProject

Manage the selection of items in the Map Editor menu.
Inheritance: MonoBehaviour
Afficher le fichier Open project: Cedric-Paris/PuzzleGameProject

Méthodes publiques

Свойство Type Description
currentButton Button
enableTileSet bool
selectedObject GameObject

Méthodes publiques

Méthode Description
OnButtonPressOnMenuEditor ( Button buttonOnMenu ) : void

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

Method Details

OnButtonPressOnMenuEditor() public méthode

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.
Résultat void

Property Details

currentButton public_oe static_oe property

Reference to the last button clicked.
public static Button currentButton
Résultat Button

enableTileSet public_oe static_oe property

Indicates whether the positioning of elements in the scene is enable. false = disable / true = enable
public static bool enableTileSet
Résultat bool

selectedObject public_oe static_oe property

GameObject associated to the last button clicked.
public static GameObject selectedObject
Résultat GameObject