TextMesh always appears behind SpriteRenderer in 2D
Hey,
in my 2D project I got this complex gameobject consisting of a rectangle shape as a parent and its children are some circular shapes which are visually above the rectangle. Now I wanted to add a TextMesh so that I can give the rectangle a sort of text label. So I added an empty gameobject with a TextMesh being its only component but the text always appears behind the rectangle/circles. I can move it around on the Z axis as much as I want and in 3D it can be right in front of it but viewing it in 2D it's still behind everything.
The hierarchy of my main gameobject is:
block (Sprite)
--Circle (Sprite)
--Circle (Sprite)
--Circle (Sprite)
--TextMesh (TextMesh)
Your answer
Follow this Question
Related Questions
Why textmesh is pink ? 1 Answer
Game mode doesn't display TextMeshPro Text 1 Answer
can you help me?,Can anyone help me fix textmesh pro? 0 Answers
TMP Dropdown resets its value 0 Answers
2D Sprite Order in Layer Multiple Prefab Instances 0 Answers