コード例 #1
0
    //Main
    private void StartPopUp(IPausePressed args)
    {
        if (!CanStart)
        {
            return;
        }

        if (!GameIsPaused)
        {
            PauseGame();
            return;
        }

        if (GameIsPaused && ActiveBranch.IsPauseMenuBranch())
        {
            UnPauseGame();
        }
    }
コード例 #2
0
 private bool CanUnpauseGame() => GameIsPaused && ActiveBranch.IsPauseMenuBranch();