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 ![](https://camo.githubusercontent.com/dfb26fd39c1f0fd096a11eaae4b6b29740ea802c5cd0e725047e3001062d002a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f6d6f622d73616b61692f446973736f6c7665456666656374466f72544d50726f2e7376673f6c6162656c3d6c61737425323075706461746564)
What's new? Watch this repo ![](https://camo.githubusercontent.com/627d4138eb326fb0c35861cc4cfa2444700748772b3e032095ac9e9760360a90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f6d6f622d73616b61692f446973736f6c7665456666656374466f72544d50726f2e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)
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