C# Class HealthBarController, Unity2d-Game

Inheritance: MonoBehaviour
Show file Open project: sagivo/Unity2d-Game Class Usage Examples

Public Properties

Property Type Description
yMargin float

Public Methods

Method Description
setHealth ( float newHealth ) : void

Protected Methods

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

Method Details

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

setHealth() public method

public setHealth ( float newHealth ) : void
newHealth float
return void

Property Details

yMargin public property

public float yMargin
return float