void OnSaveButtonClick() { string str = deckNameDropDown.captionText.text; if (!editUI.SaveDeck(str)) { errorPlane.Show("卡组不能为空卡组"); return; } InitDeckNameDropDown(); errorPlane.Show("保存成功"); }
void Update() { if (errorPlane.gameObject.activeSelf || errorList.Count == 0) { return; } ErrorModel e = errorList[0]; errorList.RemoveAt(0); errorPlane.Show(e.text, e.function); }
public void ShowMes(string title, string mes, normalDele dele) { tipPlane.Show(mes, dele, title); }