// Use this for initialization void Start() { monsterModel = MonsterModel.GetInstance(); itemModel = ItemModel.GetInstance(); magicModel = MagicModel.GetInstance(); playerModel = PlayerModel.GetInstance(); OnXmlLoadEnemy(); OnXmlLoadItem(); OnXmlLoadPlayer(); OnXmlLoadMagic(); }
// Use this for initialization void Start () { magicModel = MagicModel.GetInstance(); SetMagicData(); }