mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-19 17:22:37 +08:00
fix: changing the shadowMirrorScale property via code does not update the effect
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user