public static void hide() { show(); thisWindowLive.Close(); thisWindowLive = null; }
/** * void OnDisable() * { * } * * void OnDestroy() * { * } **/ public static void show() { thisWindowLive = (PrefabCreatorWindow)EditorWindow.GetWindow(typeof(PrefabCreatorWindow)); }