Пример #1
0
 // Use this for initialization
 void Start()
 {
     monsterModel = MonsterModel.GetInstance();
     itemModel    = ItemModel.GetInstance();
     magicModel   = MagicModel.GetInstance();
     playerModel  = PlayerModel.GetInstance();
     OnXmlLoadEnemy();
     OnXmlLoadItem();
     OnXmlLoadPlayer();
     OnXmlLoadMagic();
 }
Пример #2
0
	// Use this for initialization
	void Start () 
    {
        magicModel = MagicModel.GetInstance();
        SetMagicData();
	}