//void based steeringbehaviours public void ObstacleAvoidenceOn() { if (!behaviours.Contains(ObstacleAvoidance.GetInstance())) { behaviours.Add(ObstacleAvoidance.GetInstance()); } }
public void ObstacleAvoidenceOff() { behaviours.Remove(ObstacleAvoidance.GetInstance()); }