DissolveEffectForTMPro
NOTE: This project is experimental.
MeshEffectForTextMeshPro.
NOTE: This project is a derivative project ofUIEffect.
NOTE: This project will be integrated toDissolveEffectForTMPro provide dissolve effect component for TextMeshPro in Unity.
<< Description | WebGL Demo | Download | Usage | Example of using | Development Note | Change log >>
See changelog
What's new?Watch this repo
Do you want to receive notifications for new releases?Description
DissolveEffectForTMPro provide dissolve effect component (from UIEffect) for TextMeshPro in Unity.
It works well not only for standard Graphic components (Image, RawImage, Text, etc.) but also for TextMeshPro and TextMeshProUGUI.
Features
- Dissolve color, width and softness.
- Effect area: RectTransform, Fit, Split by character.
- Support
<font>
and<sprite>
tags. - You can control effect properties from script, AnimationClip and inspector.
- Works well not only for standard Graphic components (Image, RawImage, Text, etc.) but also for TextMeshPro and TextMeshProUGUI.
- No useless allocation.
- Easy to set up.
Demo
Usage
- Download DissolveEffectForTMPro.unitypackage from Releases.
- Import the package into your Unity project. Click
Import Package > Custom Package
from theAssets
menu. - Enable
TexCoord1
andTexCoord2
channels of canvas.
- Add UIDissolve component to TextMeshPro from
Add Component
in inspector orComponent > DissolveEffectForTMPro > UIDissolve
menu. - Set dissolvable material preset to the TextMeshPro component. Press the Fix button to generate or set dissolvable material preset.
- (Option) Set dissolvable sprite asset to the TextMeshPro component. Press the Fix button to generate or set dissolvable sprite asset.
- Adjust the parameters of the effect as you like, in inspector.
- Enjoy!
Requirement
- Unity 5.6+ (including Unity 2019.x)
- TextMeshPro v1.0.0+
Development Note
License
- MIT
- Β© UTJ/UCL
Author
See Also
- GitHub page : https://github.com/mob-sakai/DissolveEffectForTMPro
- Releases : https://github.com/mob-sakai/DissolveEffectForTMPro/releases
- Issue tracker : https://github.com/mob-sakai/DissolveEffectForTMPro/issues
- Current project : https://github.com/mob-sakai/DissolveEffectForTMPro/projects/1
- Change log : https://github.com/mob-sakai/DissolveEffectForTMPro/blob/master/CHANGELOG.md