Method | Description | |
---|---|---|
GainControl ( float delta ) : void |
EnterState
|
|
GetPostUpdateActions ( ) : PostUpdateActions |
default
|
|
LoseControl ( float delta ) : void |
ExitState
|
|
OnAfterMove ( Character ch, float delta ) : void |
Move the Box after moving the character, so there is a gap between them
|
|
OnEnable ( ) : void | ||
PerformAction ( float delta ) : void |
Move Character, because the magic is in OnAfterMove
|
|
PullBox ( Vector3 velocity, Directions dir, float delta ) : void |
Move a Box
|
|
WantsToUpdate ( float delta ) : int |
public GetPostUpdateActions ( ) : PostUpdateActions | ||
return | PostUpdateActions |
public OnAfterMove ( Character ch, float delta ) : void | ||
ch | Character | |
delta | float | |
return | void |
public PullBox ( Vector3 velocity, Directions dir, float delta ) : void | ||
velocity | Vector3 | |
dir | Directions | |
delta | float | |
return | void |