Exemple #1
0
    protected bool Action1WasPressed()
    {
        bool wasPressed = PlayerInput.Action1WasPressed();

        if (wasPressed)
        {
            GameData.Instance.SetValue(GameData.ON_ACTION_1, this);
        }

        return(wasPressed);
    }