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