Property | Type | Description | |
---|---|---|---|
HPPanel | |||
healthImage | Image |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
updatePlayerHealth ( int newCurrentHealth, int newMaxHealth ) : void |
Method | Description | |
---|---|---|
updatePlayerCurrentHealth ( int newHP ) : void | ||
updatePlayerMaxHealth ( int newMax ) : void |
public updatePlayerHealth ( int newCurrentHealth, int newMaxHealth ) : void | ||
newCurrentHealth | int | |
newMaxHealth | int | |
return | void |
public RectTransform,UnityEngine HPPanel | ||
return |