fix: changing the shadowMirrorScale property via code does not update the effect

This commit is contained in:
mob-sakai
2024-12-26 17:18:08 +09:00
parent 2b43bc42d4
commit d9bf0e12fe
+1 -1
View File
@@ -516,7 +516,7 @@ namespace Coffee.UIEffects
{
value = Mathf.Clamp(value, 0f, 2f);
if (Mathf.Approximately(m_ShadowMirrorScale, value)) return;
m_ShadowMirrorScale = value;
context.shadowMirrorScale = m_ShadowMirrorScale = value;
SetVerticesDirty();
}
}