internal static ShaderGUI CreateShaderGUI(string customEditorName) { Type type = ShaderGUIUtility.ExtractCustomEditorType(customEditorName); return((type == null) ? null : (Activator.CreateInstance(type) as ShaderGUI)); }