Exemple #1
0
 protected override void OnInitialize()
 {
     evade            = RequireBehaviour <Evade>();
     evade.Pursuer    = pursuer;
     arrive           = RequireBehaviour <Arrive>();
     obstaclesInRange = new Collider2D[Mathf.RoundToInt(maxHideDistance)];
 }
Exemple #2
0
 protected override void OnInitialize()
 {
     arrive = RequireBehaviour <Arrive>();
 }
Exemple #3
0
 protected override void OnInitialize()
 {
     seek   = RequireBehaviour <Seek>();
     arrive = loop ? null : RequireBehaviour <Arrive>();
 }