C# Class ActionBarController

Inheritance: MonoBehaviour
Show file Open project: BornToGrill/Project-Frequency Class Usage Examples

Public Properties

Property Type Description
ActionButtonPrefab GameObject
BarracksButtonPrefab GameObject
BoatButtonPrefab GameObject
RobotButtonPrefab GameObject
SoldierButtonPrefab GameObject
TankButtonPrefab GameObject
margin float

Public Methods

Method Description
AddButton ( string text, Callback, callback, bool clickable, int cost, int money ) : void
Clear ( ) : void
Start ( ) : void

Method Details

AddButton() public method

public AddButton ( string text, Callback, callback, bool clickable, int cost, int money ) : void
text string
callback Callback,
clickable bool
cost int
money int
return void

Clear() public method

public Clear ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

ActionButtonPrefab public property

public GameObject ActionButtonPrefab
return GameObject

BarracksButtonPrefab public property

public GameObject BarracksButtonPrefab
return GameObject

BoatButtonPrefab public property

public GameObject BoatButtonPrefab
return GameObject

RobotButtonPrefab public property

public GameObject RobotButtonPrefab
return GameObject

SoldierButtonPrefab public property

public GameObject SoldierButtonPrefab
return GameObject

TankButtonPrefab public property

public GameObject TankButtonPrefab
return GameObject

margin public property

public float margin
return float