Hi Guys,

Is it possible to make a GUI.Box inside a GUI.Window? And how do I do this?

Because I want to make a help window in my game, that is resizable, draggable, toggable and able to scroll through the text.

Thanks in advance

I’ve look the Doc, and I’ve found the solution;
look here about the GUI.Window and here for the GUI.Box.

Try this code :

	public Rect windowRect = new Rect(20, 20, 120, 50);
	void OnGUI() 
		windowRect = GUI.Window(0, windowRect, DoMyWindow, "GUI.Window");
	void DoMyWindow(int windowID) 
		GUI.Box(new Rect(10, 20, 100, 20), "GUI.Box");		

i hope it can help you :slight_smile: