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?
↧