Forum rules - please read before posting.

Close all menus (or all open menus)

Hi, I've a quick question.

Is there a command, or an action, or anything to close all the open menus?

The idea is to have a "QuitToMainMenu" method to close everything and then open just the the main menu.

Thank you very much.

Comments

  • No - you'll almost always want to be selective about which menus are affected, but through script you can do this.

    foreach (AC.Menu menu in AC.PlayerMenus.GetMenus ())
    {
      menu.TurnOff (true);
    }

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.