- Home /
Question by
ZsurzsaLaszlo · Mar 03, 2011 at 12:34 PM ·
guitextures
Change GUI Texture?
Hello,
Can i change the gui texture? If the question exists please provide me wiht an url.
Thanks,
Comment
Best Answer
Answer by Statement · Mar 03, 2011 at 12:38 PM
See GUITexture.
It has a texture member you can access.
guiTexture.texture = someTexture;
If you want to replace the GUITexture entirely, you need to remove the old and add a new with AddComponent. Or you can have several attached and manage the references manually.
Your answer
Follow this Question
Related Questions
Replacing textures 0 Answers
Animating a texture, what method should I use? 0 Answers
GUI Texture trouble 3 Answers
Tiling partial textures in GUI 1 Answer
Negative pixel inset removes ability for touch input on GUITexture 0 Answers