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>(); }
protected override void OnInitialize() { seek = RequireBehaviour <Seek>(); arrive = loop ? null : RequireBehaviour <Arrive>(); }