MenuController HideAllVisibleMenus Method Delta Engine Documentation

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

public static void HideAllVisibleMenus()
Remarks

Tests: CreepyTowers.Tests.GUI.MenuControllerTests
Examples

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