Свойство | Type | Description | |
---|---|---|---|
alwaysRun | bool | ||
runAction | string |
Méthode | Description | |
---|---|---|
GetPostUpdateActions ( ) : PostUpdateActions | ||
Move ( float spdy, float &smoothing, float accTime ) : void |
Horizontal movement based on current input
|
|
OnActionDown ( string _action ) : void |
input.onActionDown
|
|
OnActionUp ( string _action ) : void |
input.onActionUp
|
|
OnEnable ( ) : void | ||
PerformAction ( float delta ) : void |
Do horizontal movement
|
|
Reset ( ) : void |
Reset SmoothDamp
|
public GetPostUpdateActions ( ) : PostUpdateActions | ||
Résultat | PostUpdateActions |
public Move ( float spdy, float &smoothing, float accTime ) : void | ||
spdy | float | |
smoothing | float | |
accTime | float | |
Résultat | void |
public OnActionDown ( string _action ) : void | ||
_action | string | |
Résultat | void |
public OnActionUp ( string _action ) : void | ||
_action | string | |
Résultat | void |
public PerformAction ( float delta ) : void | ||
delta | float | |
Résultat | void |