public static void ShowMenu()
    {
        IcosahedronGenerator window = EditorWindow.GetWindow <IcosahedronGenerator>("Icosahedron Generator");

        window.minSize = new Vector2(250.0f, 100.0f);
        window.Show();
    }
 private void OnEnable()
 {
     creator = target as IcosahedronGenerator;
     Undo.undoRedoPerformed += RefreshCreator;
 }