TextMeshAnimator
Adds basic shake and wave animation tags to Unity TextMesh. This is a proof of concept as I found it pretty hard to find any decent documentation on a way to achieve this.
What it does is:
- Parse any
<wave></wave>
,<shake></shake>
and<shake=0.5></shake>
(for a custom amount) into<link>
tags which can then be accessed through Textmesh's linkInfo property. - Set all characters alpha to 0.
- Start a Coroutine that makes them visible one by one.
- In Update it checks to see if any shake or wave characters are visible and applies the effects.