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