C# Class PlantInfoBoxManager, gro-ui

Inheritance: MonoBehaviour
Show file Open project: OpenAgInitiative/gro-ui Class Usage Examples

Public Properties

Property Type Description
commonNameDisplay Text
hasActivePlant bool
infoEntryPrefab GameObject

Public Methods

Method Description
AddInfo ( string label, float value, int style ) : void
AddInfo ( string label, string value, int style ) : void
ClearActivePlant ( ) : void
FixedUpdate ( ) : void
SetCommonName ( string commonName ) : void

Private Methods

Method Description
Awake ( ) : void

Method Details

AddInfo() public method

public AddInfo ( string label, float value, int style ) : void
label string
value float
style int
return void

AddInfo() public method

public AddInfo ( string label, string value, int style ) : void
label string
value string
style int
return void

ClearActivePlant() public method

public ClearActivePlant ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

SetCommonName() public method

public SetCommonName ( string commonName ) : void
commonName string
return void

Property Details

commonNameDisplay public property

public Text commonNameDisplay
return Text

hasActivePlant public property

public bool hasActivePlant
return bool

infoEntryPrefab public property

public GameObject infoEntryPrefab
return GameObject