예제 #1
0
 private void StartNavigation()
 {
     if (NavTargets.Count == 0)
     {
         navTargetManager = NavTargetManager.Instance;
         NavTargets       = navTargetManager.GetAllNavTargets();
     }
     isNavigating = true;
 }
예제 #2
0
 private void StartNavigation()
 {
     if (NavTargets.Count == 0)
     {
         navTargetManager = NavTargetManager.Instance;
         NavTargets       = navTargetManager.GetAllNavTargets();
     }
     isNavigating = true;
     StartCoroutine(GoToNextPoint());
 }