C# Class ResourceDisplayModule, gro-ui

Inheritance: MonoBehaviour
Datei anzeigen Open project: OpenAgInitiative/gro-ui Class Usage Examples

Public Properties

Property Type Description
airHighlighted UnityEngine.Color32
airNormal UnityEngine.Color32
icon Image
iconDisplayButton Button
layoutElement UnityEngine.UI.LayoutElement
lightHighlighted UnityEngine.Color32
lightNormal UnityEngine.Color32
nameDisplay Text
sensingPointModulePrefab GameObject
sensorListContent Transform
tempcolor UnityEngine.Color32
tempcolorblock ColorBlock
tempcolorblockExpanded ColorBlock
waterHighlighted UnityEngine.Color32
waterNormal UnityEngine.Color32

Public Methods

Method Description
AddSensingPoint ( FarmSensingPoint point ) : IEnumerator
IconButtonPress ( ) : void
Initialize ( FarmResource, re ) : IEnumerator
RestartSensors ( ) : void
Start ( ) : void
UpdateSize ( ) : IEnumerator

Method Details

AddSensingPoint() public method

public AddSensingPoint ( FarmSensingPoint point ) : IEnumerator
point FarmSensingPoint
return IEnumerator

IconButtonPress() public method

public IconButtonPress ( ) : void
return void

Initialize() public method

public Initialize ( FarmResource, re ) : IEnumerator
re FarmResource,
return IEnumerator

RestartSensors() public method

public RestartSensors ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateSize() public method

public UpdateSize ( ) : IEnumerator
return IEnumerator

Property Details

airHighlighted public_oe property

public Color32,UnityEngine airHighlighted
return UnityEngine.Color32

airNormal public_oe property

public Color32,UnityEngine airNormal
return UnityEngine.Color32

icon public_oe property

public Image icon
return Image

iconDisplayButton public_oe property

public Button iconDisplayButton
return Button

layoutElement public_oe property

public LayoutElement,UnityEngine.UI layoutElement
return UnityEngine.UI.LayoutElement

lightHighlighted public_oe property

public Color32,UnityEngine lightHighlighted
return UnityEngine.Color32

lightNormal public_oe property

public Color32,UnityEngine lightNormal
return UnityEngine.Color32

nameDisplay public_oe property

public Text nameDisplay
return Text

sensingPointModulePrefab public_oe property

public GameObject sensingPointModulePrefab
return GameObject

sensorListContent public_oe property

public Transform sensorListContent
return Transform

tempcolor public_oe property

public Color32,UnityEngine tempcolor
return UnityEngine.Color32

tempcolorblock public_oe property

public ColorBlock tempcolorblock
return ColorBlock

tempcolorblockExpanded public_oe property

public ColorBlock tempcolorblockExpanded
return ColorBlock

waterHighlighted public_oe property

public Color32,UnityEngine waterHighlighted
return UnityEngine.Color32

waterNormal public_oe property

public Color32,UnityEngine waterNormal
return UnityEngine.Color32