Hi all, i'm trying to build a menu in Irrlicht, for my game, but i've some problem...
1) I'm not able to "Clear" the IGUIEnvironment after i quit from a menu
2) I'm trying to dispose the GUIEnvironment, and recreate it
Code: Select all
switch(ev.GUIEvent)
{
case(GUIEventType.ButtonClicked):
if (id == 101)
{
menu = 'p'; // Entra nel menu di gioco
env.Dispose();
env = device.GUIEnvironment;
CreateOnlyBackground();
}
How can i create it?
Thx