Is it possible to place a TextMeshPro component under a SpriteMask?
SpriteRenderer components have the option to show the sprite only when it's inside a spritemask, but I cannot find this option for text components. Is there any method to accomplish this?
Answer by TheTrueDuck · Jun 01 at 04:31 PM
You can use a RectMask2D! As long as the parent to your TMPro has this component, it will automatically mask away everything not inside its width and height.
Ohh okay so it works with parenting. But I have a non-UI text component, so I have a feeling that wouldn't work (since I know that UI text components work under their parenting Canvas component).
Your answer
Follow this Question
Related Questions
TextMeshProUGUI could not be found 0 Answers
PLEASE HELP ME I CANNOT OPEN ANIMATOR MASK !!! 1 Answer
How to change caret position inside Input field using mouse position 0 Answers
How to get the alpha mask shader in Unity 5? 0 Answers
Masking not working on children of an image that masking is working on 0 Answers