Пример #1
0
 protected override void OnInitialize()
 {
     seek   = RequireBehaviour <Seek>();
     arrive = loop ? null : RequireBehaviour <Arrive>();
 }
Пример #2
0
 protected override void OnInitialize()
 {
     neighbours = GetComponent <NeighbourAwareness>();
     seek       = RequireBehaviour <Seek>();
 }
Пример #3
0
 protected override void OnInitialize()
 {
     seek = RequireBehaviour <Seek>();
 }
Пример #4
0
 protected override void OnInitialize()
 {
     wanderTarget = (Vector2)transform.up * wanderRadius;
     seek         = RequireBehaviour <Seek>();
 }