redbluegames / unity-text-typer

Text typing effect for Unity uGUI Text components
MIT License
307 stars 28 forks source link

Add parameter to animations for Strength to be relative to character size #27

Open edwardrowe opened 5 years ago

edwardrowe commented 5 years ago

Right now it's hard to share animations between fonts of different sizes. This is because a shake that is extreme on a small font is minimal on a bigger font.

I think using a relative strength might be most correct by default, but alternatively we could add a flag to each animation which determines if it will use absolute positions or positions relative to the size of the character.