How to add name over a Line
Hi, i drew 3 lines in order to represent x,y and z axis and i would like to add a visual name on each line, is there a simple way to do it with shapes ?
Thanks in advance.
Hi, i drew 3 lines in order to represent x,y and z axis and i would like to add a visual name on each line, is there a simple way to do it with shapes ?
Thanks in advance.
In immediate mode you can use Draw.Text along with the proper alignment options and positioning, and with components you can use TextMeshPro.
But there's no auto-positioning of labels along a line with billboarding or anything no!
Ok, thanks for this, but what is the difference between the draw.Text and the TextMeshPro ?
TextMeshPro is unity's text drawing solution which works similar to Shapes components
Draw.Text only works in Shapes immediate mode drawing (but is effectively just a wrapper for TextMeshPro)
TextMeshPro is unity's text drawing solution which works similar to Shapes components
Draw.Text only works in Shapes immediate mode drawing (but is effectively just a wrapper for TextMeshPro)
Ok, i see, thanks for the answer
In immediate mode you can use Draw.Text along with the proper alignment options and positioning, and with components you can use TextMeshPro.
But there's no auto-positioning of labels along a line with billboarding or anything no!