whats the best method for positioning UI for resizable resolutions

hey guys, i’ve noticed that using the method i am using at the moment to create GUI isn’t so good becuase the box doesnt go to the same place when in maximized play. heres my code:

var CB : Vector2 = Vector2 (320,600);
var CB1 = 300;
var CB2 = 570;



function Update () {
}



function OnGUI () {
GUI.Box(Rect(Screen.width - CB.x, Screen.height - CB.y, CB1,CB2), "Characters");
}

thanks!

There are some suggestions about how to do this in this thread.