im trying to make a script where a text box appears and the player is able to add his name and then his character has the name floating above it. can someone advise me with a script. thankyou
Use GUI.TextField for the name box
For the character’s name just have a 3D text that always faces you and its position is always above the character.
you can use a 3d text. Its an Object you drop in the scene and you can have it float over the character in 3d space. the text of this object can be edited with .text so 3D text .text.
Check 3d text in the Unity Scripting references for the info on how to use it. for the user to enter his her name look up GUI.Textbox