MenuController HideAllMenus Method Delta Engine Documentation

Namespace: CreepyTowers.GUI
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public static void HideAllMenus()
Remarks

Tests: CreepyTowers.Tests.GUI.MenuControllerTests
Examples

1 unit tests call CreepyTowers.GUI.MenuController.HideAllMenus
[Test, CloseAfterFirstFrame]
public void HideAllCachedMenus()
{
    var menu = MenuController.GetMenu<MockMenuScene>();
    menu.Show();
    Assert.IsTrue(menu.IsShown);
    MenuController.HideAllMenus();
    Assert.IsFalse(menu.IsShown);
}
See Also