Свойство | Тип | Описание | |
---|---|---|---|
attackMelee | string | ||
character | Character | ||
crounchIdle | string | ||
crounchWalk | string | ||
fenceDown | string | ||
fenceIdle | string | ||
fenceLeft | string | ||
fenceRight | string | ||
fenceUp | string | ||
grabbing | string | ||
idle | string | ||
jump | string | ||
ladder | string | ||
maxSlope | float | ||
pulling | string | ||
pushing | string | ||
rope | string | ||
rotateOnSlopes | bool | ||
slipping | string | ||
swimming | string | ||
walk | string | ||
wallsliding | string |
Метод | Описание | |
---|---|---|
GetAnimationLength ( string animation ) : float |
Get animation length in seconds
|
|
LatePlatformerUpdate ( float delta ) : void |
do nothing
|
|
OnAreaChange ( Areas before, Areas after ) : void |
Not used atm
|
|
OnDisable ( ) : void |
sync UpdateManager
|
|
OnEnable ( ) : void |
sync UpdateManager
|
|
OnInjuredCharacter ( |
Not used atm
|
|
OnStateChange ( States before, States after ) : void |
Not used atm
|
|
PlatformerUpdate ( float delta ) : void |
Calculate what animation to play and do it!
|
|
Play ( string animation ) : void |
Play animation NOTE this method should check that it's not currently playing the given animation, because each PlatformerUpdate you will recieve the same animation
|
|
PlaybackSpeed ( float speed ) : void |
Set playback speed. 1: normal\n 0-1: slow-motion\n >1: fast-motion
|
|
Start ( ) : void |
Start listening
|
|
StartPlayback ( ) : void |
Continue playing current animation
|
|
StopPlayback ( ) : void |
Stop current animation
|
public abstract GetAnimationLength ( string animation ) : float | ||
animation | string | |
Результат | float |
public LatePlatformerUpdate ( float delta ) : void | ||
delta | float | |
Результат | void |
public OnAreaChange ( Areas before, Areas after ) : void | ||
before | Areas | |
after | Areas | |
Результат | void |
public OnInjuredCharacter ( |
||
dt | ||
h | ||
to | Character | |
Результат | void |
public OnStateChange ( States before, States after ) : void | ||
before | States | |
after | States | |
Результат | void |
public PlatformerUpdate ( float delta ) : void | ||
delta | float | |
Результат | void |
public abstract Play ( string animation ) : void | ||
animation | string | |
Результат | void |
public abstract PlaybackSpeed ( float speed ) : void | ||
speed | float | |
Результат | void |