Game Development Community

what's different between pushDialogControl and pushDialog

by DieRich · in Torque 3D Beginner · 02/18/2011 (7:44 am) · 1 replies

hi all, I'm new to t3d 1.0.1, and I'm confused with GuiCanvas::pushDialogControl and GuiCanvas::setContentControl, what's different between these methods?

thanks in advance.

#1
02/18/2011 (8:29 pm)
PushDialog puts a Gui on top of another, good for things such as popup menus, inventories, etc.

SetContent is used for switching Guis, such as switching from the game to the main menu.

That's my understanding anyway.