示例#1
0
        public Notification(OnClickDialogYes dialogOk, string title)
        {
            this.type = EType.Dialog;

            this.title = title;
            this.callbackFuntionYesDialog = dialogOk;
        }
示例#2
0
    public static void ShowDialog(string title, OnClickDialogYes onYes)
    {
        if (Instance.listNotification.Count == 0)
        {
            Instance._StartDialog(title, onYes);
        }

        Instance.listNotification.Add(new Notification(onYes, title));
    }
示例#3
0
 void _StartDialog(string title, OnClickDialogYes onYes)
 {
     Init(EType.Dialog);
     lbTitle.text             = title;
     callbackFuntionYesDialog = onYes;
 }