I’ve been trying to use this javascript to make a guitexture box follow around the target the player is looking for. I can’t figure out though how to replace the text for a texture and where i’m supposed to put the texture in the script. can anyonehelp me? Thanks!
take off the @script RequireComponent(GUIText) directive at the bottom of the script. Then create a GUITexture object and attach the script to it. Set the target and camera attributes in the inspector and that should do it.