Пример #1
0
    public void OpenView(object intent)
    {
        m_UserName.text = m_proxy.GetPlayerName();
        m_UserRank.text = m_proxy.GetPlayerRank().ToString();

        var win  = m_proxy.GetPlayerWinCount();
        var lose = m_proxy.GetPlayerLoseCount();
        var draw = m_proxy.GetPlayerDraw();

        m_WinCount.text   = win.ToString();
        m_TotalCount.text = (draw + win + lose).ToString();
        m_UserIndex.text  = m_proxy.GetPlayerIndex().ToString();
    }