the above ^ how do i do it?
Use Screen.Width or Screen.Height. in C# to put a box in the four corners of the screen in a resolution independent way.
void OnGUI () {
GUI.Box (new Rect (0,0,100,50), "Top-left");
GUI.Box (new Rect (Screen.width - 100,0,100,50), "Top-right");
GUI.Box (new Rect (0,Screen.height - 50,100,50), "Bottom-left");
GUI.Box (new Rect (Screen.width - 100,Screen.height - 50,100,50), "Bottom right");
}
You can use Screen.width and Screen.height to get the resolution. So you can do something like this:
int TextWidth = 45;
GUI.Label(new Rect(Screen.width-TextWidth, 10, TextWidth, 22), "Text");
The text you will appear in the upper right corner, regardless of the resolution.