"Instrument Panel" in Unity?

Is there a way to create an “instrument panel” in Unity? An example of what I mean is attached to this post.

I’ve been experimenting with GUI design in Unity and understand that GUI elements are positioned based on -relative- screen positions. I understand the advantage this gives for multi-resolution display, but fonts and gui graphics don’t change scale at different screen resolutions, so how do you make a consistent user interface?

I would like to create a user instrument panel that resides on the top left corner of the screen. Is there some way to “parent” the text and graphics in the panel together and then have the panel’s position be relative to the screen?

Thanks!

19402--632--$instruments_218.jpg

In Unity you can do both.

Eg. a guiText can be moved pixel based using the pixelOffset and screen relative using the transform.position

Same for a guiTexture, pixelInset is the pixel offset, transform.position is the screen relative offset, transform.scale is the screen relative size.

So when using a guiTexture you usually se the transform scale to zero (no scaling with changing screen size), then use transform.position to place it in one of the corners, then use the pixelInset to offset it by a pixel amount from the corner.

Thanks Joachim, I’ll give that a try.