- Home /
ONGUI() - 'Ghost' Boxes
Hi, I'm new to onGui() routines. I'm trying to click on a flying target and draw a target box around it. I've managed this with the rect function in OnGui() procedure. However my prefab shooters all have the same onGui() routine obviously. Even though I've only 1 camera active at a time I still get multiple 'ghost' boxes floating around after I clicked a genuine target (selected by tag)?Any suggestions?
Comment
Your answer
Follow this Question
Related Questions
GUI DrawTexture is sliding across the screen? 0 Answers
OnGui Function help 1 Answer
OnGUI order, function executed before OnGUIs 0 Answers
GUI works fine in editor, but not in build 2 Answers
Detect Right Click on GUI Buttons 2 Answers