コード例 #1
0
        public static void Open()
        {
            ShaderReferenceEditorWindow window = EditorWindow.GetWindow <ShaderReferenceEditorWindow>();

            window.titleContent = new GUIContent("Shader");
            window.Show();
        }
コード例 #2
0
        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();
        }