static void Init() { GridCreator window = (GridCreator)EditorWindow.GetWindow(typeof(GridCreator)); window.Show(); }