大修
This commit is contained in:
@@ -191,7 +191,7 @@ namespace NBShaderEditor
|
||||
// MaterialEditor.BeginProperty(position, prop);
|
||||
|
||||
EditorGUI.BeginChangeCheck();
|
||||
bool hdr = (prop.flags & MaterialProperty.PropFlags.HDR) != 0;
|
||||
bool hdr = (prop.propertyFlags & UnityEngine.Rendering.ShaderPropertyFlags.HDR) != 0;
|
||||
if (IsPropertyAnimated(propertyName,"r","g","b","a"))
|
||||
{
|
||||
GUI.backgroundColor = animatedBackgroundColor;
|
||||
|
||||
Reference in New Issue
Block a user