C# Class LifeBar, Unity-ITGHD

Inheritance: MonoBehaviour
Show file Open project: BenouKat/Unity-ITGHD Class Usage Examples

Public Properties

Property Type Description
Ring GameObject
baseScale Vector3[]
colorDanger Color
colorMax Color
colorNormal Color
colorOutlineDanger Color
lifeHUD UISprite,
lifeInfo UILabel,
lifebar GameObject[]
limit float
lowBrillance float
matLifeBar Material
maxBrillance float
psLifeUp ParticleSystem
psLowLife ParticleSystem
psMaxLife ParticleSystem
speedBrillance float
speedClignDanger float
speedTurn float
speedTurnMax float
thelerp float

Public Methods

Method Description
ChangeBar ( float newlife ) : void
FixedUpdate ( ) : void
Start ( ) : void
disableLifeBar ( ) : void

Method Details

ChangeBar() public method

public ChangeBar ( float newlife ) : void
newlife float
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

disableLifeBar() public method

public disableLifeBar ( ) : void
return void

Property Details

Ring public property

public GameObject Ring
return GameObject

baseScale public property

public Vector3[] baseScale
return Vector3[]

colorDanger public property

public Color colorDanger
return Color

colorMax public property

public Color colorMax
return Color

colorNormal public property

public Color colorNormal
return Color

colorOutlineDanger public property

public Color colorOutlineDanger
return Color

lifeHUD public property

public UISprite, lifeHUD
return UISprite,

lifeInfo public property

public UILabel, lifeInfo
return UILabel,

lifebar public property

public GameObject[] lifebar
return GameObject[]

limit public property

public float limit
return float

lowBrillance public property

public float lowBrillance
return float

matLifeBar public property

public Material matLifeBar
return Material

maxBrillance public property

public float maxBrillance
return float

psLifeUp public property

public ParticleSystem psLifeUp
return ParticleSystem

psLowLife public property

public ParticleSystem psLowLife
return ParticleSystem

psMaxLife public property

public ParticleSystem psMaxLife
return ParticleSystem

speedBrillance public property

public float speedBrillance
return float

speedClignDanger public property

public float speedClignDanger
return float

speedTurn public property

public float speedTurn
return float

speedTurnMax public property

public float speedTurnMax
return float

thelerp public property

public float thelerp
return float