// Use this for initialization void Awake() { GlobalVariable.ClearGameData(); if (GlobalVariable.AllCards.Count == 0) { LoadSceneMonsters(); LoadGameProps(GlobalVariable.AllCards, "card"); LoadGameProps(GlobalVariable.AllGameItems, "item_battle"); LoadGameProps(GlobalVariable.AllMonstersSkills, "monster_skill"); LoadGameProps(GlobalVariable.AllLeadSkills, "skill"); LoadAllMonsters(); LoadAllStates(); LoadGameProps(GlobalVariable.AllGameItems, "item_mission"); LoadMountain(); LoadAllConversationList(); } if (isTest) { LoadTestData(); } }