public void OnCancel(InputAction.CallbackContext context) { if (context.started) { menuScript.Call(); UpdateActionMap("Gameplay"); } }
public void OnMenu(InputAction.CallbackContext context) { if (actionsManager.ActionIsAvailable(ActionsManager.Actions.Menu)) { if (context.started) { menuScript.Call(); UpdateActionMap("Menu"); } } }
public override void Call() { menuScript.Call(); UpdateActionMap(); }