public void OnSceneLoaded()
    {
        if (pvp)
        {
            GameMsgSender.SendPVPLoadProgress(50);
        }
        else
        {
            _RefreshUIPercFunc(50);
        }

        m_curLoadingStep = LoadingStep.eLoadedScene;
    }
    private IEnumerator _LoadUi(List <string> uiNames)
    {
        yield return(new WaitForSeconds(1.5f));

        for (int i = 0; i < uiNames.Count; i++)
        {
            ResourceLoadManager.Instance.LoadPrefab(uiNames[i]);
        }

        if (pvp)
        {
            GameMsgSender.SendPVPLoadProgress((uint)20);
        }
        else
        {
            _RefreshUIPercFunc(20);
        }
        m_curLoadingStep = LoadingStep.eLoadedUI;
        Debug.Log("Load ui.");
    }
    private IEnumerator _LoadCharacters(PlayerManager pm, GameMatch match)
    {
        yield return(new WaitForSeconds(1.5f));

        if (pvp)
        {
            GameMatch_PVP match_pvp = match as GameMatch_PVP;
            match_pvp.LoadPlayers();
            GameMsgSender.SendPVPLoadProgress(30);
        }
        else
        {
            foreach (Player player in pm)
            {
                GameSystem.Instance.mClient.mCurMatch.CreateTeamMember(player);
            }
            _RefreshUIPercFunc(30);
        }
        m_curLoadingStep = LoadingStep.eLoadedPlayers;
        Debug.Log("Load character.");
    }