Свойство | Тип | Описание | |
---|---|---|---|
AvoidDistance | float | ||
AvoidFoV | float | ||
ForwardDirection | Vector3 | ||
LockYRotation | bool | ||
LookAway | bool | ||
Offset | Vector3 | ||
PlayerVisDistance | float | ||
PreferedHeight | float | ||
Speed | float | ||
Target | Transform |
Метод | Описание | |
---|---|---|
FixedUpdate ( ) : void | ||
Turn ( Vector3 targetDir, bool AllowLockY = false ) : void |
Метод | Описание | |
---|---|---|
RayTest ( Vector3 rayDirection, float distance ) : bool |
public Turn ( Vector3 targetDir, bool AllowLockY = false ) : void | ||
targetDir | Vector3 | |
AllowLockY | bool | |
Результат | void |