How to create a text using javascript?

Hi everyone,

I’m creating a 3D model simulation using unity. In that model I need to add texts like A, B, C, D… to indicate a particular component. How to create these type of text using javascript?

Does this script do what you want?

18294-guilabel.jpg