Пример #1
0
        internal static ShaderGUI CreateShaderGUI(string customEditorName)
        {
            Type type = ShaderGUIUtility.ExtractCustomEditorType(customEditorName);

            return((type == null) ? null : (Activator.CreateInstance(type) as ShaderGUI));
        }