Beispiel #1
0
    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;
    }
Beispiel #2
0
 private void OpenCreateItemType()
 {
     CreateItemTypeWindow.Show(Render);
 }