2022-01-27, 10:57
Hello,
I'm on a 2D game development project.
The objective is to display a text above certain fixed and mobile objects.
I managed to display a text for the objects but the problem is that it is not brought to the foreground.
The type of object that worked is the TextMesh (because the others are fixed on a positioinv and do not follow the movement of an associated object).
The question is, how to display the TextMesh in the foreground?
The "Order in Layer" and "Sorting Layer" properties don't work, nor do the "Position Z" and "Scale Z" properties.
I'm on a 2D game development project.
The objective is to display a text above certain fixed and mobile objects.
I managed to display a text for the objects but the problem is that it is not brought to the foreground.
The type of object that worked is the TextMesh (because the others are fixed on a positioinv and do not follow the movement of an associated object).
The question is, how to display the TextMesh in the foreground?
The "Order in Layer" and "Sorting Layer" properties don't work, nor do the "Position Z" and "Scale Z" properties.