Hi everyone, I’m working on a project on Unity and I’m struggling with a particular task.
I needed to put a label floating above 3Dobjects, I managed to do it using a script that calls the GUIText.
So far I had to write the label in the inspector to see it at runtime.
The problem is that I want to be able to write the label during runtime on an ImputField. I tried to do it several times but couldnt.
Thank you all for your help.
You can just create a regular “Text” object using new GUI system (uGUI) and set its position using Camera-WorldToScreenPoint - Unity Scripting API
Thank you for your help.
I tried to do what you asked but failed. Sorry I am new to Unity.
Can you please give more clarifications?