Метод | Описание | |
---|---|---|
GainControl ( float delta ) : void |
EnterState and start centering
|
|
GetPostUpdateActions ( ) : PostUpdateActions |
default
|
|
LoseControl ( float delta ) : void |
EnterState and start centering
|
|
OnBeforeMove ( Character ch, float delta ) : void |
Move the Box before moving the character so there is a gap between them
|
|
OnEnable ( ) : void | ||
PerformAction ( float delta ) : void |
Move Character, because the magic is in OnBeforeMove
|
|
PushBox ( Vector3 velocity, Directions dir, float delta ) : void |
Move a Box
|
|
WantsToUpdate ( float delta ) : int |
Pushing and object enough time?
|
public GetPostUpdateActions ( ) : PostUpdateActions | ||
Результат | PostUpdateActions |
public OnBeforeMove ( Character ch, float delta ) : void | ||
ch | Character | |
delta | float | |
Результат | void |
public PerformAction ( float delta ) : void | ||
delta | float | |
Результат | void |
public PushBox ( Vector3 velocity, Directions dir, float delta ) : void | ||
velocity | Vector3 | |
dir | Directions | |
delta | float | |
Результат | void |
public WantsToUpdate ( float delta ) : int | ||
delta | float | |
Результат | int |