C# Class ActionBarController

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public GameObject ActionButtonPrefab
return GameObject

BarracksButtonPrefab public_oe property

public GameObject BarracksButtonPrefab
return GameObject

BoatButtonPrefab public_oe property

public GameObject BoatButtonPrefab
return GameObject

RobotButtonPrefab public_oe property

public GameObject RobotButtonPrefab
return GameObject

SoldierButtonPrefab public_oe property

public GameObject SoldierButtonPrefab
return GameObject

TankButtonPrefab public_oe property

public GameObject TankButtonPrefab
return GameObject

margin public_oe property

public float margin
return float