public override void Run() { if (rotator) { rotator.tick(Time.deltaTime); if (rotator.reachedFullSpeed()) { done = true; } base.Run(); } }
public override void Run() { if (rotator) { rotator.tick(Time.deltaTime); if (rotator.isStopped()) { done = true; } base.Run(); } }
public override void Run() { if (rotator != null) { rotator.tick(Time.deltaTime); if (spin) { if (rotator.getCompletedRotationsCount() >= spins) { done = true; } } else { done = true; } base.Run(); } }