I have a GUI text in the scene place at the right-top corner and following script is attached to it ,
Font size is 40
Pixel Offset is 0,0
Position(0.8,0.95,0)
var text ;
static var val : int = 3 ;
function Update()
{
guiText.text = "Health : " + val ;
}
The resolution in my build settings I’ve set is 1600x900 but if I run the scene from .exe in lower resolution like 640x480 , my text goes to the right almost hiding it . I want the text to be in right-top corner independent of the screen resolution . How can I achieve this in the simplest way possible ?