public void OnUp(InputAction.CallbackContext context) { if (context.phase == InputActionPhase.Started) { OnInput(i_conductor.CalculateSongPositionInBeats(AudioSettings.dspTime, inputLagOffset), Direction.up); } }