Property | Type | Description | |
---|---|---|---|
onInterrupt | System.Action |
Property | Type | Description | |
---|---|---|---|
actionCounter | int | ||
castFrames | int | ||
cooldownCounter | int | ||
cooldownFrames | int | ||
durationFrames | int |
Method | Description | |
---|---|---|
EndAction ( ) : void |
End action!
|
|
Interrupt ( bool resetCooldown ) : void |
interrupt current action
|
|
IsActionComplete ( ) : bool |
attack ended
|
|
IsActionInProgress ( ) : bool |
Attacking time
|
|
IsCasting ( ) : bool |
Casting time
|
|
IsCooldown ( ) : bool |
Can perform action?
|
|
OnEnable ( ) : void |
conver time to frames
|
|
StartAction ( ) : void |
Start action!
|
|
WantsToUpdate ( float delta ) : int |
public Interrupt ( bool resetCooldown ) : void | ||
resetCooldown | bool | Reset cooldown. Allow to cast again! |
return | void |