public DialogService(DialogKind kind, string title, string content) : this() { this._kind = kind; if (!DesignMode.DesignModeEnabled) { _title = title; _content = content; } }
public static bool DisplayDialog(DialogKind dialogKind) { var dialog = k_Dialogs[(int)dialogKind]; Assert.AreEqual(dialog._kind, dialogKind); if (k_RunningInBatchMode) { if (dialog._fields[0] != null || dialog._fields[0].Length != 0) { Debug.Log(dialog._fields[0]); } return(true); } return(EditorUtility.DisplayDialog( dialog._fields[1], dialog._fields[2], dialog._fields[3], dialog._fields[4])); }
public DialogService(DialogKind kind, string title, string content) : this() { this._kind = kind; _title = title; _content = content; }
public Dialog(DialogKind kind, string[] fields) { _kind = kind; _fields = fields; }
public static void ShowDialog(DialogKind dialog) { _instance.DialogMenu.SwitchDialog((int)dialog); }
public static void ShowDialog(DialogKind dialog) { _instance.DialogMenu.SwitchDialog((int)dialog); }