C# Class ctac.PlayerResourceView

Inheritance: strange.extensions.mediation.impl.View
Show file Open project: dshook/centauri-tac

Public Properties

Property Type Description
currentEnergyText TMPro.TextMeshProUGUI
fillRenderer UnityEngine.MeshRenderer
maxEnergyText TMPro.TextMeshProUGUI

Public Methods

Method Description
Update ( ) : void

Private Methods

Method Description
init ( ) : void
updateText ( int resource, int max ) : void

Method Details

Update() public method

public Update ( ) : void
return void

Property Details

currentEnergyText public property

public TextMeshProUGUI,TMPro currentEnergyText
return TMPro.TextMeshProUGUI

fillRenderer public property

public MeshRenderer,UnityEngine fillRenderer
return UnityEngine.MeshRenderer

maxEnergyText public property

public TextMeshProUGUI,TMPro maxEnergyText
return TMPro.TextMeshProUGUI