C# Класс BobbitBrain

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
debugStatements bool
hideDist float
huntT float
message string
range float
state string
swimA float
swimF float
swimT float
vel float

Открытые методы

Метод Описание
OnParticleCollision ( GameObject o ) : void
Start ( ) : void
Update ( ) : void
attack ( ) : void
fixRotation ( Vector3 heading, Vector3 target ) : void
follow ( ) : void
patrol ( ) : void
sneek ( ) : void

Приватные методы

Метод Описание
angleBetween ( Vector3 from, Vector3 to, string axis ) : float

Описание методов

OnParticleCollision() публичный Метод

public OnParticleCollision ( GameObject o ) : void
o GameObject
Результат void

Start() публичный Метод

public Start ( ) : void
Результат void

Update() публичный Метод

public Update ( ) : void
Результат void

attack() публичный Метод

public attack ( ) : void
Результат void

fixRotation() публичный Метод

public fixRotation ( Vector3 heading, Vector3 target ) : void
heading Vector3
target Vector3
Результат void

follow() публичный Метод

public follow ( ) : void
Результат void

patrol() публичный Метод

public patrol ( ) : void
Результат void

sneek() публичный Метод

public sneek ( ) : void
Результат void

Описание свойств

debugStatements публичное свойство

public bool debugStatements
Результат bool

hideDist публичное свойство

public float hideDist
Результат float

huntT публичное свойство

public float huntT
Результат float

message публичное свойство

public string message
Результат string

range публичное свойство

public float range
Результат float

state публичное свойство

public string state
Результат string

swimA публичное свойство

public float swimA
Результат float

swimF публичное свойство

public float swimF
Результат float

swimT публичное свойство

public float swimT
Результат float

vel публичное свойство

public float vel
Результат float