Scaling GUITexture

I have a GUITexture attached to my Main Camera in my scene and tagged to the Main Camera and this all works fine.


when i maximise the gaming window the GUITexture stays the same size - how do i set a GUITexture to rescale with changes in window size???

Thanks in advance :)

Set all the pixel inset values to 0, and use the GUITexture transform's scale instead. The GUITexture should not be attached to any cameras. Also this was already asked/answered:

The DrawTexture call takes a rectangle, so you have to change the width / height of your rectangle accordingly or you can multiply gui.Matrix by a scaling matrix