Menu Enable Method Delta Engine Documentation

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

public virtual void Enable()
Remarks

Tests: CreepyTowers.Tests.GUI.MenuControllerTests
Examples

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