/// <summary> /// Stops rotating the object. /// </summary> public void StopRotating() { if (!IsRotating) { return; } // Remove self as a modal input handler. InputManager.Instance.PopModalInputHandler(); IsRotating = false; StoppedRotating.RaiseEvent(); }
/// <summary> /// Stops rotating the object. /// </summary> public void StopRotating() { if (!isRotating) { return; } // Remove self as a modal input handler InputManager.Instance.PopModalInputHandler(); isRotating = false; currentInputSource = null; StoppedRotating.RaiseEvent(); }