Sets the texture used by the GUI Texture attached to a game object.
Game Object
The game object that owns the GUITexture component
Texture
The texture to use.
Notes
- Most of the time you probably want to set up the texture using the GUITexture inspector, then use GUITexture Actions to swap textures, set color etc.