GUI texture to fit the screen at any resolution?

I am trying to add damage to my player, and when he does a GUI texture come up of blood around the edges of the screen, I have my texture but I cannot get it to stay in the place I want it to be in when the resolution changes. I cant really explain any more than this but these pictures should give you a better understanding. Sorry about the external links.

Make the GUITexture have an X and Y scale of 1.0. Set all pixel inset values to 0. Make sure the X/Y locations are 0.5.

You may want to use the GUI system instead, by simply calling this in the OnGUI method:

GUI.DrawTexture(new Rect(0f, 0f, Screen.width, Screen.height), texture);

I do it this way when I use GUITextures for menu backgrounds

public GUITexture MenuBG1;
MenuBG1.pixelInset = new Rect(0,0,Screen.width,Screen.height);

Make a plane attach your texture and make it child of ur camera ta da it will work…