Advanced GUI script help

What I want to create is a system where I can press a button and a screen will come up where I can use my experience to buy skill in a tech tree with particle effects and glowing lines linking power ups and things. I have no idea how I would go about doing this. Can I load a scene within another scene? I cant see how OnGUI can help me with this. Any and all advice is appreciated.
Thanks

You may want to just have a separate camera set to nearer depth (so it renders on top of the normal scene) and do it all with ‘normal’ objects. Create the interface objects off somewhere it won’t be seen by the normal camera, and/or make a new layer and put those objects and that camera in it.

I’m not sure how the pros do it, but I see two possible solutions to your problem:

Solution 1 – OnGui():

-Attach it to your button, piece, or create an empty GameObject for a container (maybe use a singleton: Tumbleweed Express Development Blog: Unity C# AudioManager Tutorial - Part 1 (Setup)).

-Create a script that implements the method onGUI(). (below is a simple c# example)

	void OnEnable() {
		//check to see what actions are available to us
		updateAvailableActions();
	}
	
	void OnGUI() {
		//Set the location/dimensions of the GUI box
		int left = 0; //x1
		int top = 0; //y1
		int bottom = 200; //x2
		int right = 200; //y2
		//Use those values to create a menu
		GUI.Box(new Rect(left, top, right, bottom), "Choose an action!:

");
//Set the location/dimensions of your button
left = 0; top = 20; right = 150; bottom = 70;
//Use those values to create a button
if(GUI.Button(new Rect(left, top, right, bottom), "First Action:
")) {

			takeMeleeAction();
			Debug.Log("FighterActionMenu --- Action was selected!");
			this.enabled = false;
		}
	
	}

-When you want to display that menu, simple enable/disable the script (below is an example of getting the script from the same GameObject

	//Find the action menu
	menu = GetComponent<FighterActionMenu>();
	//Enable it so the GUI shows up
	menu.enabled = true;

Solution 2 – Hidden Menu Offscreen:
-create a cube game object

-make it really thin and in the dimensions you would like your menu to be in (perhaps screen size)

-attach smaller shapes to it for buttons and images and whatevers
-implement OnMouseDown(), OnMouseUp() and others for clicking effects

-set the menu’s position offscreen

-when you want to display the menu, simple move it in from offscreen.

Note: I’m not sure how culling works with unity as I’ve only just started using it. It might be advisable (but not necessary) that you specifically tell unity that you don’t want to render (use the graphics card to draw) things that the camera can’t see.

So there are two options for you. You can also make the menu its own scene, it just might take a long time to load. Hope that helped!

Ok. Here, lots of people need help with these things.
But we need to solve this. You need to learn how to code.
C# Script is one of the most powerful coding languages that game developers
use to create 3D games and GUI’s (Graphical User Interfaces) Don’t use one of the
books that say: Learn c++ in 20 Days! Those books are crap. Nobody needs those.
Choose some from Amazon. They are pretty detailed and will help you improve your work. Motivate with peers if you need help with Code by the way. This is what i do all the time. Learning code is simple, i don’t really know code, its not my type, but i have a company that knows code, so im just going to do the art. Its really simple. Art. The other people in my company will code in C#, since its really powerful for 3D games. But yeah. Learning code is fun.
On a daily basis, you can read your coding book, they are at the price of $20.00 in CA, and in the US about $30.00 and maybe $25.00. If you have to go and eat lunch, put your book down, and then go eat, don’t force yourself or else its going to be really hard for you.

If you are not impressed with Unity programming and game making, please use one of these engines:

Torque Game Engine 3D → Blockland used this to create their game
Torque is at the price for 2d $100 and a $200, but for the 3D it is $1000. My company is going to figure out how to pay this much because we really like Torque. But we might use Unity if we can’t afford it.

Game Maker 3D → This is ok, not really good enough for 3D games like FPS shooters. Game maker is usally for 2D games, everybody makes 2D, but some people have enough knowledge of GML (game maker coding language) to program a full d3d (3d game maker models,etc) fps shooters and things like that! I downloaded one, but it was really good, graphics are not really good if you are making a 3D game in game maker, but the gun was amazing. And you needed lots of variables and code because i looked in the GMK and i was like, OMG! But i kept playing it, but it crashes because it has too much data to it or i have a slow computer. So i don’t think game maker is right for you but you can try it if you want.

THAT IS MY OPINION! Hope this helped you!
Any word mistakes i am sorry! because i was typing like sonic!