void Start()
 {
     steering = GetComponent <Steering>();
     flee     = GetComponent <Flee>();
 }
 void Start()
 {
     steering = GetComponent <Steering>();
     wander   = GetComponent <Wander>();
 }
Пример #3
0
 void Awake()
 {
     steering = GetComponent <Steering>();
 }
Пример #4
0
 void Awake()
 {
     cosineValue = Mathf.Cos(cosine * Mathf.Deg2Rad);
     steering    = GetComponent <Steering>();
 }
Пример #5
0
 void Awake()
 {
     rigbod   = GetComponent <AIMovement>();
     steering = GetComponent <Steering>();
 }