public void OnAcceleration(InputAction.CallbackContext context) { if (actionsManager.ActionIsAvailable(ActionsManager.Actions.Acceleration)) { if (context.interaction is PressInteraction) { if (context.started) { moveScript.CallRunning(); } else if (context.canceled) { moveScript.CallNotRunning(); } } } }