예제 #1
0
    public void SetMyTurn(bool isMyTurn)
    {
        myTurn = isMyTurn;

        if (myTurn)
        {
            turnsText.text = "Our Turn";
            ourTimer.ResumeTimer();
        }
        else
        {
            turnsText.text = "Their Turn";
            theirTimer.ResumeTimer();
        }
    }