public static void Open() { ShaderReferenceEditorWindow window = EditorWindow.GetWindow <ShaderReferenceEditorWindow>(); window.titleContent = new GUIContent("Shader"); window.Show(); }
public static void Open() { ShaderReferenceEditorWindow window = GetWindow <ShaderReferenceEditorWindow>(); // GUIContent content = EditorGUIUtility.IconContent("d_Shader Icon"); GUIContent content = new GUIContent(); content.text = "Shader参考大全"; window.titleContent = content; window.Show(); }