static void ShowWindow()
    {
        // Get existing open window or if none, make a new one:
        ReplaceGameObjects window = (ReplaceGameObjects)EditorWindow.GetWindow(typeof(ReplaceGameObjects));

        window.Show();
    }
예제 #2
0
    static void CreateWizard()
    {
        ReplaceGameObjects window = ScriptableObject.CreateInstance(typeof(ReplaceGameObjects)) as ReplaceGameObjects;

        window.ShowUtility();
    }