コード例 #1
0
 public static void ShowContextMenu <T>(this ScreenLayerManager screenLayerManager, string title, Action <T> action, params T[] options)
 => screenLayerManager.Add(new ContextMenu <T>(title, action, options));
コード例 #2
0
 public static void ShowPrompt(this ScreenLayerManager screenLayerManager, string title, string description, string initialText, Action <string> action)
 => screenLayerManager.Add(new PromptBox(title, description, initialText, action));
コード例 #3
0
 public static void ShowPrompt(this ScreenLayerManager screenLayerManager, string title, Action <string> action)
 => screenLayerManager.Add(new PromptBox(title, string.Empty, string.Empty, action));
コード例 #4
0
 public static void ShowMessage(this ScreenLayerManager screenLayerManager, string message, Action yesAction, Action noAction, bool cancelable)
 => screenLayerManager.Add(new MessageBox(message, yesAction, noAction, cancelable));
コード例 #5
0
 public static void ShowMessage(this ScreenLayerManager screenLayerManager, string message, Action okAction = null)
 => screenLayerManager.Add(new MessageBox(message, okAction));
コード例 #6
0
 public static void AsyncLoading(this ScreenLayerManager screenLayerManager, string message, Action action)
 => screenLayerManager.Add(new LoadingScreen(message, action));