Hi, is it possible to clear a previous GUI.DrawTexture?
I have 6 scripts that I use GUI.DrawTexture and I resize the texture by using Mathf.Lerp() over time, the problem is if I switch scripts before the resize has finished and the GUI.DrawTexture turned off when I return to that script the texture is there as it was left before swapping scripts.
Is there a way to clear a GUI.DrawTexture?
Thanks.
↧