After I use GUI.DrawTexture to draw a gui texture, how do I destroy it in scripting?
asked Jan 18 '11 at 04:57 AM
You don't, since it only exists for one frame anyway. Either remove or disable the script with the OnGUI function, or use a boolean variable to toggle whether the texture is drawn or not.
answered Jan 18 '11 at 05:47 AM