예제 #1
0
    private void LoadResource()
    {
        if (_instance != null)
        {
            Destroy(this.gameObject);
            ConnectData();
            return;
        }

        skin.LoadResource();
        MonsterData.Instance.InsertData();
        dungeon.SetData();
        SkillData.Instance.SetData();
        TextData.Instance.SetData();
        ImageData.Instance.SetData();
        NpcData.Instance.SetData();

        //여기부터 XML LOAD
        //Platform Check
        CheckPlatform();

        //언어에 따라 XML에서 로드하는 데이타
        LoadXml_Npc();

        Test();
        //PlayerData Load
        LoadXmlDocument();
    }