Property | Type | Description | |
---|---|---|---|
acceleration | float | ||
aiSpeed | float | ||
direction | float | ||
maxSpeed | float | ||
minSpeed | float | ||
rotation | float | ||
speed | float |
Method | Description | |
---|---|---|
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
ProcessCharacterEvent ( string eventId, string param ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
ExecuteAI ( ) : void |
This function will executed itself preidically and will change the current speed and direction based on random number.
|
|
Update3DModel ( ) : void |
This function will update the model with position and rotation by speed and direction.
|
|
UpdateAnimation ( ) : void |
This function will update the speed of animation, so it will give better match with current moves.
|
public ProcessCharacterEvent ( string eventId, string param ) : void | ||
eventId | string | |
param | string | |
return | void |