Example #1
0
    void Awake()
    {
        // init turn state
        turn = TurnState.X;

        if (AIPlayFirst)
        {
            AITurn   = turn;
            UserTurn = AITurn.Other();
        }
        else
        {
            UserTurn = turn;
            AITurn   = UserTurn.Other();
        }
    }