Свойство | Тип | Описание | |
---|---|---|---|
anim | Animator | ||
directionChangeInterval | float | ||
maxHeadingChange | float | ||
speed | float |
Свойство | Тип | Описание | |
---|---|---|---|
NewHeadingRoutine | IEnumerator |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
NewHeading ( ) : void |
Calculates a new direction to move towards.
|
|
OnControllerColliderHit ( |
||
Update ( ) : void |
Метод | Описание | |
---|---|---|
NewHeadingRoutine ( ) : IEnumerator |
Repeatedly calculates a new direction to move towards. Use this instead of MonoBehaviour.InvokeRepeating so that the interval can be changed at runtime.
|
public OnControllerColliderHit ( |
||
hit | ||
Результат | void |