Exemplo n.º 1
0
 protected override void OnInitialize()
 {
     evade            = RequireBehaviour <Evade>();
     evade.Pursuer    = pursuer;
     arrive           = RequireBehaviour <Arrive>();
     obstaclesInRange = new Collider2D[Mathf.RoundToInt(maxHideDistance)];
 }
Exemplo n.º 2
0
 protected override void OnInitialize()
 {
     arrive = RequireBehaviour <Arrive>();
 }