프로퍼티 | 타입 | 설명 | |
---|---|---|---|
onInterrupt | System.Action |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
actionCounter | int | ||
castFrames | int | ||
cooldownCounter | int | ||
cooldownFrames | int | ||
durationFrames | int |
메소드 | 설명 | |
---|---|---|
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! |
리턴 | void |