Exemple #1
0
 void OnTrigger()
 {
     if (dialog != null)
     {
         dialog.NewDialog(jsonFileDialogName);
         dialog.OnOptionSelected += OnOptionSelect;
         dialog.OnDialogEnded    += OnDialogEnd;
     }
     else if (dialog2 != null)
     {
         dialog2.NewDialog(jsonFileDialogName);
         dialog2.OnOptionSelected += OnOptionSelect;
         dialog2.OnDialogEnded    += OnDialogEnd;
     }
 }
 //imported from testdialogmanager
 void ActiveDialogWithoutTrigger()
 {
     floatingDialog.NewDialog(jsonFileDialogName);
     floatingDialog.OnDialogEnded += OnDialogEnd;
 }