C# Class Healthbar

Inheritance: MonoBehaviour
显示文件 Open project: BoolClub/ProjectCrusade Class Usage Examples

Public Methods

Method Description
AddHP ( float amount ) : void

Adds to the hp.

DecreaseHP ( float amount ) : void

Takes health away from the player.

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

AddHP() public static method

Adds to the hp.
public static AddHP ( float amount ) : void
amount float Amount.
return void

DecreaseHP() public static method

Takes health away from the player.
public static DecreaseHP ( float amount ) : void
amount float Amount.
return void