public void Init() { editShowCardUI = EditShowCardUI.GetInstance(); image = this.GetComponent <RawImage>(); editUI = EditUI.GetInstance(); dragCardUI = DragCardUI.GetInstance(); editDeckUI = EditDeckUI.GetInstance(); }
public override void Init() { curDeck = new Deck(); selectLoadDeckUI = SelectLoadDeckUI.GetInstance(); editDeckUI = EditDeckUI.GetInstance(); searchCardUI = SearchCardUI.GetInstance(); searchResultCardUI = SearchResultCardUI.GetInstance(); dragCardUI = DragCardUI.GetInstance(); editDeckUI.Init(); searchCardUI.Init(); searchResultCardUI.Init(); selectLoadDeckUI.Init(); dragCardUI.Init(); }
public EditDeckUI() { instance = this; }