Example #1
0
    //Server - 캐릭터 리스트 수신
    public void CharacterList(DataPacket packet)
    {
        Debug.Log("캐릭터 리스트 수신");

        CharacterListPacket characterListPacket = new CharacterListPacket(packet.msg);
        CharacterList       characterList       = characterListPacket.GetData();

        uiManager.SelectUIManager.CharacterList = characterList;

        if (SceneChanger.Instance.CurrentScene == SceneChanger.SceneName.LoadingScene)
        {
            SceneChanger.Instance.LoadingCheck[(int)SceneChanger.SelectLoadingData.CharacterList] = true;
        }
        else
        {
            uiManager.SelectUIManager.SetCharacter();
        }
    }