Пример #1
0
    public void OpenView(object intent)
    {
        int userId = m_proxy.GetPlayerId();

        isTurn = true;
        m_pveProxy.SetSelfColor(Config.PieceColor.WHITE);
        m_mode = m_pveProxy.GetMode();
        m_userImage.GetComponentInChildren <Text>().text  = m_proxy.GetPlayerName();
        m_enemyImage.GetComponentInChildren <Text>().text = m_pveProxy.GetEnemyName();

        App.SoundManager.PlaySoundClip(Config.Sound.InGameStart);
        var fixedK = App.EffectManager.ScreenFixedK;

        m_worldCamera.fieldOfView = m_worldCamera.fieldOfView * fixedK;
    }