C# Class Power, UnderworldExporter

Inheritance: MonoBehaviour
Mostra file Open project: hankmorgan/UnderworldExporter Class Usage Examples

Public Properties

Property Type Description
PreviousCharge float
PreviousIndex int
RepeatCounter int
uiPowerGem RawImage

Public Methods

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

Compares the previous charge with the current attack charge. If the charge level has changed it changes the power gem image. Once it reaches full charge it will loop the max charge animation.

UpdateMaxCharge ( ) : void

Loops the max charge image.

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

Compares the previous charge with the current attack charge. If the charge level has changed it changes the power gem image. Once it reaches full charge it will loop the max charge animation.
public Update ( ) : void
return void

UpdateMaxCharge() public method

Loops the max charge image.
public UpdateMaxCharge ( ) : void
return void

Property Details

PreviousCharge public_oe property

public float PreviousCharge
return float

PreviousIndex public_oe property

public int PreviousIndex
return int

RepeatCounter public_oe property

public int RepeatCounter
return int

uiPowerGem public_oe property

public RawImage uiPowerGem
return RawImage