Skip to content

5.1.0

Latest
Compare
Choose a tag to compare
@mob-sakai mob-sakai released this 31 Dec 00:32

5.1.0 (2024-12-31)

📌 UIEffect v5.1.0 Key Features

  • Gradient Mode: The Gradient Mode modifies vertex colors using either two colors or a Gradient.

    • Allows configuration of offset, scale, and rotation.
    • Implemented with zero allocation for performance efficiency.
  • Shadow Color/Blur: Customize the color and blur intensity of shadows.

    • For example, applying blur to shadows alone enables the creation of soft shadows.
  • Color Glow/Transition Color Glow/Shadow Color Glow: Each color can now be configured as a glow effect.

    • For example, when used with Dissolve, the glow areas will appear with additive blending.
  • Sampling Scale: Modify the sampling scale per element with the Sampling Scale property on UIEffect or UIEffectReplica.

    • By setting an appropriate value for sprites with different pixels per unit, you can reduce visible differences.
  • UIEffectTweener Update

    • The Play On Enable option defines the behavior when the component is enabled.
      • When set to None, UIEffectTweener remains idle until you explicitly call Play(), PlayForward(), or PlayReverse().
    • UIEffectTweener animations can now be previewed directly in edit mode.
  • TextMeshPro Support Update:

    • Support TextMeshPro/Bitmap and TextMeshPro/Mobile/Bitmap shaders.
    • Automatically display a dialog to import TextMeshPro support.



The other changes are as follows:

Bug Fixes

  • changing the shadowMirrorScale property via code does not update the effect (d9bf0e1)
  • fix reverse direction mode for UIEffectTweener (54825ee), closes #281 #282 #283

Features

  • add Color Glow, Transition Color Glow and Shadow Color Glow options (e9522d3)
  • add GradationMode.Angle and GradationMode.AngleGradient (08e9ba7)
  • add OnComplete event for UIEffectTweener (aeb78ed), closes #289 #188
  • add PlayOnEnable option for UIEffectTweener (1558736)
  • add SamplingScale option (2b43bc4), closes #269
  • add Shadow Color and Shadow Blur options (d0a3ca6)
  • add a button to swap gradation colors (editor) (20a6ca0)
  • add option to not automatically plays tweener effect (88609f5)
  • automatically display a dialog to import TextMeshPro support (f2df188)
  • gradation feature (bbe57df), closes #277 #66
  • on-demand UIEffect shader support (bdd8e08), closes #212 #271
  • support TextMeshPro/Bitmap and TextMeshPro/Mobile/Bitmap shaders. (23ac398), closes #284
  • support non full-rect graphics for some effect (a66baea)
  • UIEffectTweener animation preview in edit mode (e17b4a0), closes #279

⚙ Quick Installation

This package requires Unity 2020.3 or later.

Install via OpenUPM

openupm add [email protected]

Install via UPM

"com.coffee.ui-effect": "https://github.com/mob-sakai/UIEffect.git?path=Packages/src#5.1.0",

Additional Resource Imports

Update TextMeshPro Support sample to use shadow color feature.