升级unity6.2

This commit is contained in:
2025-08-30 21:01:31 +08:00
parent 72f731b8bc
commit 43dcf42c9e
1748 changed files with 8918 additions and 5076 deletions

View File

@@ -240,7 +240,7 @@ class VolundMultiStandardShaderGUI : ShaderGUI
bool ImmediateProperty(string name, MaterialEditor materialEditor, MaterialProperty[] props) {
EditorGUI.BeginChangeCheck();
var p = FindProperty(name, props);
if(p.type == MaterialProperty.PropType.Texture)
if(p.propertyType == UnityEngine.Rendering.ShaderPropertyType.Texture)
materialEditor.TexturePropertySingleLine(new GUIContent(p.displayName), p);
else
materialEditor.ShaderProperty(p, p.displayName);