Пример #1
0
    /// <summary>
    /// Sets the player turn.
    /// начать в игре ход игрока
    /// </summary>
    public void SetPlayerTurn()
    {
        mGameState = GameState.PlayerTurn;

        mTasks.Add(new Task(0.3f, () =>
        {
            mGameCamera.ChangePosition(2);
        }));
        mTasks.Add(new Task(1.0f, () =>
        {
            CanvasYourTurn.SetActive(true);
        }));
        mTasks.Add(new Task(1.0f, () =>
        {
            CanvasYourTurn.SetActive(false);
            YourTurnBegin();
        }));
    }