i since i cant set an in game object to a prefab variable i need a way to automaticly find and set a game object to the variable of an instantiated object. i am trying to make a warning image thing so you know when an enemy sees you but i cant put the GUITexture on the player cause the player moves and doesnt have the required GUITexture transform values. the only way i can see to make this work is to put a game object in the game but i dont know any way to get new enemies to locate the object.
how is the best way to locate a game object