mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-19 17:22:37 +08:00
fix: fix v4 compatible components
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_EffectFactor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Width = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Softness = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Color = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ namespace Coffee.UIEffects
|
||||
m_TransitionTexture = value;
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_ColorMode = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_EffectFactor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_ColorFactor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_BlurFactor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace Coffee.UIEffects
|
||||
m_EffectMode = value;
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_ColorMode = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_TargetColor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Range = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Saturation = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Value = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Hue = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_EffectFactor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Width = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Softness = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Brightness = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_Gloss = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_EffectFactor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace Coffee.UIEffects
|
||||
m_TransitionTexture = value;
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_EffectMode = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_DissolveWidth = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_DissolveSoftness = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ namespace Coffee.UIEffects
|
||||
|
||||
m_DissolveColor = value;
|
||||
UpdateContext(context);
|
||||
ApplyContextToMaterial();
|
||||
SetMaterialDirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user