示例#1
0
        void ShowCorrectWinScreenText()
        {
            string result = GetCorrectResult();

            switch (result)
            {
            case "draw":
                winScreen.ShowDrawScreen();
                break;

            case "win":
                winScreen.ShowVictoryScreen();
                break;

            case "loss":
                winScreen.ShowLossScreen();
                break;

            default:
                Debug.LogError("no such option!");
                return;
            }
        }