C# Class ResourceBar, dreams

Inheritance: MonoBehaviour
Mostra file Open project: mprofGamesDev-Dreams/dreams Class Usage Examples

Public Properties

Property Type Description
BarText Text
BarType ResourceType,
ScrollType ScrollDirection
barTransform UnityEngine.RectTransform
player GameObject
visualbar Image

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
MapHCValues ( float x, float inMin, float inMax, float outMin, float outMax ) : float
MapValues ( float x, float inMin, float inMax, float outMin, float outMax ) : float
h_handleResource ( ) : void
p_handleResource ( ) : void
pw_handleResource ( ) : void
s_handleResource ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

BarText public_oe property

public Text BarText
return Text

BarType public_oe property

public ResourceType, BarType
return ResourceType,

ScrollType public_oe property

public ScrollDirection ScrollType
return ScrollDirection

barTransform public_oe property

public RectTransform,UnityEngine barTransform
return UnityEngine.RectTransform

player public_oe property

public GameObject player
return GameObject

visualbar public_oe property

public Image visualbar
return Image