/// <summary>
 /// Unregisters a steering behavior.
 /// </summary>
 /// <param name="behavior">The behavior.</param>
 public void UnregisterOrientationBehavior(IOrientationBehaviour behavior)
 {
     _orientationComponents.Remove(behavior);
 }
 /// <summary>
 /// Unregisters a steering behavior.
 /// </summary>
 /// <param name="behavior">The behavior.</param>
 public void UnregisterOrientationBehavior(IOrientationBehaviour behavior)
 {
     _orientationComponents.Remove(behavior);
 }
 /// <summary>
 /// Registers a steering component.
 /// </summary>
 /// <param name="behavior">The behavior.</param>
 public void RegisterOrientationBehavior(IOrientationBehaviour behavior)
 {
     _orientationComponents.Add(behavior);
     _orientationComponents.Sort((a, b) => b.priority.CompareTo(a.priority));
 }
 /// <summary>
 /// Registers a steering component.
 /// </summary>
 /// <param name="behavior">The behavior.</param>
 public void RegisterOrientationBehavior(IOrientationBehaviour behavior)
 {
     _orientationComponents.Add(behavior);
     _orientationComponents.Sort((a, b) => b.priority.CompareTo(a.priority));
 }