Change GUI Texture?


Can i change the gui texture? If the question exists please provide me wiht an url.


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.