Свойство | Тип | Описание | |
---|---|---|---|
availableMoveSteps | int | ||
desiredPoint | Vector3, | ||
redirectSpeed | float | ||
speedRamp | AnimationCurve | ||
suppliedPath | List |
||
tilesMoved | int |
Свойство | Тип | Описание | |
---|---|---|---|
_trueDirec | Vector3, |
Метод | Описание | |
---|---|---|
GivePath ( List |
||
NavigatePath ( ) : bool |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
MoveToLocation ( HexNode, start, HexNode, end ) : bool |
Move the Agent in the directoin formed by the line from the star to the end. Returns true when Agent reaches end
|
|
MoveToLocationMethod ( Vector3, position, Vector3, destination, float deltaTime ) : Vector3, | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
HandleMovement ( ) : void | ||
MoveRoutine ( List |
||
UpdateTrueDirec ( ) : void |
protected MoveToLocation ( HexNode, start, HexNode, end ) : bool | ||
start | HexNode, | |
end | HexNode, | |
Результат | bool |
protected MoveToLocationMethod ( Vector3, position, Vector3, destination, float deltaTime ) : Vector3, | ||
position | Vector3, | |
destination | Vector3, | |
deltaTime | float | |
Результат | Vector3, |