void Unpause() { if (pauseTime == 0.0) { return; } AllNotesOff(); double shiftTime = Time.realtimeSinceStartup - pauseTime; Native.ShiftSequencerStart(reference, shiftTime); pauseTime = 0.0; }