- Home /
Clear previous GUI.DrawTexture
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.
Comment
Your answer
Follow this Question
Related Questions
Why are all my GUITexture elements semi-transparent? 0 Answers
Rotate Texture 1 Answer
Problem With GUI Circle Thickness 1 Answer
9-Sliced Legacy GUI 2 Answers
unity make a skin/texture to a character like the robot from the fps tutorial 1 Answer