Search Unity

TextMesh Pro Rotate Sprite in Text

Discussion in 'UGUI & TextMesh Pro' started by Twin-Stick, Sep 10, 2019.

  1. Twin-Stick

    Twin-Stick

    Joined:
    Mar 9, 2016
    Posts:
    111
    Hi all!
    Can someone tell me if it's possible via TextMeshPro to rotate a sprite via a tag or something, or do I have to have various sprites in the atlas for the rotation?

    I'm trying to get this kind of effect...

    upload_2019-9-10_17-59-29.png
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    There is the <rotate=x.xx> tag where x.xx is the angle. Either positive or negative value. </rotate> resets the angle.
     
    Whatever560 and Twin-Stick like this.
  3. Twin-Stick

    Twin-Stick

    Joined:
    Mar 9, 2016
    Posts:
    111
    PERFECT!
    Thankyou :)
     
  4. HyagoOliveira

    HyagoOliveira

    Joined:
    May 17, 2021
    Posts:
    6
    Would be possible to animate this rotate tag?
     
  5. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    It might be easier to just
    See my reply in the following thread.