GUI / HUD placement

Hi everyone,

I know i’ve been asking a few of you about this topic in the irc channel, but I thought i’d post a thread in case theres anyone as clueless as me out there!

I basically would like to know how to place HUD / GUI elements (GUI textures??) in a consistent place on the screen, regardless of screen resizing, as seen in the Race Demo - I can only assume this placement is script based? Something that gets the screen size and adjusts accordingly? This is how i’ve seen such things done in Flash etc, wondered if the principle is the same?

Many thanks,

Will

Have a look here in scrpit achive :lol
http://www.unifycommunity.com/wiki/index.php?title=Main_Page:

You don’t need to use scripting to make something be, say 40x40 and anchored bottom left.

The trick is to use the position to place the center of the object, set its scale to 0 and then use the Pixel Offset to give it a precise size in pixels.

take a look at: http://unity3d.com/Documentation/Components/class-GuiTexture.html