ShinyEffectForTMPro Save

ShinyEffectForTMPro provide shiny effect component for TextMeshPro in Unity.

Project README

ShinyEffectForTMPro

NOTE: This project is experimental.

NOTE: This project is a derivative project of MeshEffectForTextMeshPro.

NOTE: This project will be integrated to UIEffect.

ShinyEffectForTMPro provide shiny effect component for TextMeshPro in Unity.

PRs Welcome

<< Description | WebGL Demo | Download | Usage | Development Note | Change log >>

What's new? See changelog

Do you want to receive notifications for new releases? Watch this repo





Description

ShinyEffectForTMPro provide shiny 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

  • Rotation, width, softness, brightness and gloss of shiny effect.
  • 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

WebGL Demo





Usage

  1. Download ShinyEffectForTMPro.unitypackage from Releases.
  2. Import the package into your Unity project. Click Import Package > Custom Package from the Assets menu.
  3. Enable TexCoord1 and TexCoord2 channels of canvas.

  4. Add UIShiny component to TextMeshPro from Add Component in inspector or Component > MeshEffectForTMPro > UIShiny menu.
  5. Set shiny material preset to the TextMeshPro component. Press the Fix button to generate or set shiny material preset.
  6. (Option) Set shiny sprite asset to the TextMeshPro component. Press the Fix button to generate or set shiny sprite asset.
  7. Adjust the parameters of the effect as you like, in inspector.
  8. Enjoy!
Requirement
  • Unity 5.6+ (including Unity 2019.x)
  • TextMeshPro v1.0.0+





Development Note





License

  • MIT
  • © UTJ/UCL

Author

mob-sakai

See Also

Open Source Agenda is not affiliated with "ShinyEffectForTMPro" Project. README Source: mob-sakai/ShinyEffectForTMPro
Stars
90
Open Issues
1
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating