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