Creating a static menu system like in Civilization

Hi guys,

Totally new to Unity so please bear with me on this one. I have been running through some of the game tutorials included, and am slowly getting the hang of things.

One thing I need help with is creating a static/consistent menu/interface/GUI/HUD or whatever you want to call it. Basically just somehing that covers the lower part of the screen that I can add buttons etc to, and that follows the camera around. Just like the typical Simulation games like Civ, C&C, Settlers, etc.

Any chance I can get some links or hints to tutorials/guides about this please?

Thanks a lot!

Nick

Ok,well I found this link so far:

which is a brief overview of how the GUI works. Now I just need to know how to create buttons that I can attach scripts to etc.

Any help is appreciated :slight_smile:

Nick

Basically you create a gui texture. (GameObject → Create Gui Texture)

Then you create a script and override override OnMouseEnter/OnMouseExit/OnMouseDown Methods. That script you attach to the gui texture.

Some other code on how to do various button types can be found on the unify wiki:
http://unify.bluegillweb.com/scriptwiki/index.php/Button