Exemplo n.º 1
0
    void OnSaveButtonClick()
    {
        string str = deckNameDropDown.captionText.text;

        if (!editUI.SaveDeck(str))
        {
            errorPlane.Show("卡组不能为空卡组");
            return;
        }
        InitDeckNameDropDown();
        errorPlane.Show("保存成功");
    }
Exemplo n.º 2
0
    void Update()
    {
        if (errorPlane.gameObject.activeSelf || errorList.Count == 0)
        {
            return;
        }
        ErrorModel e = errorList[0];

        errorList.RemoveAt(0);
        errorPlane.Show(e.text, e.function);
    }
Exemplo n.º 3
0
 public void ShowMes(string title, string mes, normalDele dele)
 {
     tipPlane.Show(mes, dele, title);
 }