예제 #1
0
 private void TargetOnForReal()
 {
     UIManager.main.MouseDetectObjectOn(
         needsRepair ? messages : repairedMessages,
         needsRepair ? info : repairedInfo
         );
     orbiter.StopOrbiting();
 }
예제 #2
0
 void StopOrbiting()
 {
     orbiting = false;
     followOrbit.StopOrbiting();
     if (Vector3.Distance(transform.position, target.position) > minDistance)
     {
         StartMovingCloser();
     }
 }