Quantcast
Channel: Latest Questions by Griffo
Viewing all articles
Browse latest Browse all 94

Clear previous GUI.DrawTexture

$
0
0
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.

Viewing all articles
Browse latest Browse all 94

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>