public void SetNavigationMode(int iController) { if (iController < _controllers.Count) { //need to restart the navigation process //cant call stop navigation because that would set IsNavigating to false if (IsNavigating) { CurrentNavigationController.StopNavigation(); } _selectedNav = iController; if (IsNavigating) { StartNavigation(); } } else { Debug.Log("There aren't that many controllers in the manager"); } }
public void StopNavigation() { IsNavigating = false; CurrentNavigationController.StopNavigation(); }