C# Class PlayerArmorBar, 3D-DATA-ZombieBeaverSpil

Inheritance: MonoBehaviour
Show file Open project: Sundanian/3D-DATA-ZombieBeaverSpil

Public Properties

Property Type Description
armorBar Image
armorSpeed int
currentArmor float
maxArmor float
player Player,

Public Methods

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

Private Methods

Method Description
HandleArmor ( ) : void
MapValues ( float x, float inMin, float inMax, float outMin, float outMax ) : float

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

armorBar public property

public Image armorBar
return Image

armorSpeed public property

public int armorSpeed
return int

currentArmor public property

public float currentArmor
return float

maxArmor public property

public float maxArmor
return float

player public property

public Player, player
return Player,