public static void ShowPaletteWindow()
 {
     //for the EditorWindow object get the type of PaletteWindow,
     // cast to self and we are insuring we only interact with a single
     //paletteWindow.
     instance = (PaletteWindow)EditorWindow.GetWindow(typeof(PaletteWindow));
     //set title and icon using the GUIContent of a Palette.
     instance.titleContent = new GUIContent("Palette");
 }
Пример #2
0
 public static void ShowPaletteWindow()
 {
     PaletteWindow.ShowPaletteWindow();
 }