C# Class HUDAction, ES2015C

Behaviour to control the actions that a player can do over a RTSObject - button node.
Inheritance: HUDElement
显示文件 Open project: jgirald/ES2015C

Public Properties

Property Type Description
ActionIndex int

Public Methods

Method Description
ExecuteAction ( ) : void

Calls the action handler in the RTSObject when the user clicks the action.

Start ( ) : void
Update ( ) : void

Updates the object action in the HUD.

Method Details

ExecuteAction() public method

Calls the action handler in the RTSObject when the user clicks the action.
public ExecuteAction ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

Updates the object action in the HUD.
public Update ( ) : void
return void

Property Details

ActionIndex public_oe property

The index of the action in the object to display.
public int ActionIndex
return int