Пример #1
0
 private void Start()
 {
     if (instance != null)
     {
         Tool.DeBugWarning("system should only one");
     }
     else
     {
         instance = this;
     }
     UISource.Intialize();
     CardInfoSource.Intialize();
     BattleSystem.Intialize();
     battlePresenter.Intialize();
     StartCoroutine(IntializedScene());
 }
Пример #2
0
 void Awake()
 {
     UISource.Intialize();
     CardInfoSource.Intialize();
     cards = CardInfoSource.cards;
 }