C# Class AnyUI.Demo.TerrainDemoButton

Inheritance: MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
Datei anzeigen Open project: infobeisel/AnyUI

Public Properties

Property Type Description
IsActive bool
ObjectInScene GameObject
PanelText string[]

Public Methods

Method Description
BuildingActivatedEvent ( GameObject _newSelection ) : void
OnClick ( ) : void
OnPointerEnter ( PointerEventData eventData ) : void
OnPointerExit ( PointerEventData eventData ) : void
Start ( ) : void

Private Methods

Method Description
changeObjectMaterialColor ( Color _newColor ) : IEnumerator
changeState ( TERRAINBUTTONSTATE _value ) : void

Method Details

BuildingActivatedEvent() public method

public BuildingActivatedEvent ( GameObject _newSelection ) : void
_newSelection GameObject
return void

OnClick() public method

public OnClick ( ) : void
return void

OnPointerEnter() public method

public OnPointerEnter ( PointerEventData eventData ) : void
eventData PointerEventData
return void

OnPointerExit() public method

public OnPointerExit ( PointerEventData eventData ) : void
eventData PointerEventData
return void

Start() public method

public Start ( ) : void
return void

Property Details

IsActive public_oe property

public bool IsActive
return bool

ObjectInScene public_oe property

public GameObject ObjectInScene
return GameObject

PanelText public_oe property

public string[] PanelText
return string[]