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()); }
void Awake() { UISource.Intialize(); CardInfoSource.Intialize(); cards = CardInfoSource.cards; }