public static void Show(Action onDone) { if (window == null) { window = CreateInstance(typeof(CreateItemTypeWindow)) as CreateItemTypeWindow; } Debug.Assert(window != null, nameof(window) + " != null"); window.titleContent.text = "New Item Type"; window.Focus(); window.ShowUtility(); window._onDone = onDone; }
private void OpenCreateItemType() { CreateItemTypeWindow.Show(Render); }