C# Class SensorDisplayModule, gro-ui

Inheritance: MonoBehaviour
Mostrar archivo Open project: OpenAgInitiative/gro-ui Class Usage Examples

Public Properties

Property Type Description
iconDisplay GameObject
myResource FarmResource,
mySensor FarmSensor,
nameDisplay Text
refreshTime float
resourceProperty string
resourceType string
sensorType string
tryAgainButton GameObject
url string
urlDataPoint string
valueDisplay Text

Public Methods

Method Description
Initialize ( string URL ) : IEnumerator
SetIcon ( ) : void
SetName ( ) : void
SetValue ( string value ) : void
Start ( ) : void
TryAgainButton ( ) : void

Private Methods

Method Description
UpdateSensorValue ( ) : IEnumerator

Method Details

Initialize() public method

public Initialize ( string URL ) : IEnumerator
URL string
return IEnumerator

SetIcon() public method

public SetIcon ( ) : void
return void

SetName() public method

public SetName ( ) : void
return void

SetValue() public method

public SetValue ( string value ) : void
value string
return void

Start() public method

public Start ( ) : void
return void

TryAgainButton() public method

public TryAgainButton ( ) : void
return void

Property Details

iconDisplay public_oe property

public GameObject iconDisplay
return GameObject

myResource public_oe property

public FarmResource, myResource
return FarmResource,

mySensor public_oe property

public FarmSensor, mySensor
return FarmSensor,

nameDisplay public_oe property

public Text nameDisplay
return Text

refreshTime public_oe property

public float refreshTime
return float

resourceProperty public_oe property

public string resourceProperty
return string

resourceType public_oe property

public string resourceType
return string

sensorType public_oe property

public string sensorType
return string

tryAgainButton public_oe property

public GameObject tryAgainButton
return GameObject

url public_oe property

public string url
return string

urlDataPoint public_oe property

public string urlDataPoint
return string

valueDisplay public_oe property

public Text valueDisplay
return Text