C# Class ctac.PlayerResourceView

Inheritance: strange.extensions.mediation.impl.View
显示文件 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_oe property

public TextMeshProUGUI,TMPro currentEnergyText
return TMPro.TextMeshProUGUI

fillRenderer public_oe property

public MeshRenderer,UnityEngine fillRenderer
return UnityEngine.MeshRenderer

maxEnergyText public_oe property

public TextMeshProUGUI,TMPro maxEnergyText
return TMPro.TextMeshProUGUI