升级unity6.2
This commit is contained in:
@@ -376,7 +376,7 @@ namespace RapidIcon_1_7_2
|
||||
continue;
|
||||
}
|
||||
|
||||
if (prop.name != "_MainTex" && prop.flags != MaterialProperty.PropFlags.HideInInspector)
|
||||
if (prop.name != "_MainTex" && prop.propertyFlags != UnityEngine.Rendering.ShaderPropertyFlags.HideInInspector)
|
||||
{
|
||||
iconEditor.materialEditor.ShaderProperty(prop, prop.displayName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user