Class DisplayHealthPoints
Реализует отображение полосы здоровья
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
DisplayHealthPoints
Namespace: BaseDefense.UI
Assembly: BaseDefense.dll
Syntax
public class DisplayHealthPoints : MonoBehaviour
Methods
SetMaxValue(int)
Declaration
public void SetMaxValue(int maxHealthPoints)
Parameters
Type | Name | Description |
---|---|---|
int | maxHealthPoints |
UpdateView(int)
Declaration
public void UpdateView(int currentHealthPoints)
Parameters
Type | Name | Description |
---|---|---|
int | currentHealthPoints |