Property | Type | Description | |
---|---|---|---|
SLOW_HEALTH_CD | float | ||
SLOW_HEALTH_STEP | float | ||
health | Image | ||
health2 | Image | ||
healthSlow | Image | ||
mp | Image | ||
panelBloodNums | GameObject |
Method | Description | |
---|---|---|
GetHealth ( ) : float | ||
SetHealth ( float hpRate ) : void | ||
SetHealthColor ( bool isGreen ) : void | ||
SetMp ( float fmp ) : void | ||
ShowFloatNum ( int num, Color color, float duration ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
Reset ( ) : void |
public SetHealthColor ( bool isGreen ) : void | ||
isGreen | bool | |
return | void |
public ShowFloatNum ( int num, Color color, float duration ) : void | ||
num | int | |
color | Color | |
duration | float | |
return | void |