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