示例#1
0
    public void SetConfirmWindow(string info, UnityAction confirmAction)
    {
        ConfirmWindow script = confirmWindow.GetComponent <ConfirmWindow>();

        script.ChangeConfirmFunction(confirmAction);
        script.SetMessage(info);
        confirmWindow.SetActive(true);
    }
示例#2
0
    public void SetConfirmWindowDeleteLevel(string Name, string Author)
    {
        levelName = Name;
        author    = Author;
        ConfirmWindow script = confirmWindow.GetComponent <ConfirmWindow>();

        script.ChangeConfirmFunction(DeleteLevel);
        script.SetMessage("delete??");
        confirmWindow.SetActive(true);
    }