C# 클래스 SelectElementOnEditorMenu, PuzzleGameProject

Manage the selection of items in the Map Editor menu.
상속: MonoBehaviour
파일 보기 프로젝트 열기: Cedric-Paris/PuzzleGameProject

공개 프로퍼티들

프로퍼티 타입 설명
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