Skip to content

Commit d9bf0e1

Browse files
committed
fix: changing the shadowMirrorScale property via code does not update the effect
1 parent 2b43bc4 commit d9bf0e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/src/Runtime/UIEffect.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ public float shadowMirrorScale
516516
{
517517
value = Mathf.Clamp(value, 0f, 2f);
518518
if (Mathf.Approximately(m_ShadowMirrorScale, value)) return;
519-
m_ShadowMirrorScale = value;
519+
context.shadowMirrorScale = m_ShadowMirrorScale = value;
520520
SetVerticesDirty();
521521
}
522522
}

0 commit comments

Comments
 (0)