I want to put some text on top of a sprite. The closest that I’ve gotten is this (link). It’s being drawn behind the sprite. Sprite renderers have an “order in layer” field, but I’m using a mesh renderer for the text, so there’s no “order in layer” field in the inspector.
I’ve found that I can change the “order in layer” of the sprite to -1 or less, which will give me the correct result (link). But what if I want the sprite’s “order in layer” to be 0 or positive? How can I change the order in layer of the text itself?
Am I doing this all wrong? I just want to put text on top of an object. It seems weird that I have to use a mesh for that. Isn’t there a label or a text field or something?