SceneTests LoadSceneWithoutAnyControls Method Delta Engine Documentation

Namespace: DeltaEngine.Scenes.Tests
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void LoadSceneWithoutAnyControls()
Examples

[Test, CloseAfterFirstFrame]
public void LoadSceneWithoutAnyControls()
{
    var loadedScene = ContentLoader.Load<Scene>("EmptyScene");
    Assert.AreEqual("EmptyScene", loadedScene.Name);
    Assert.AreEqual(0, loadedScene.Controls.Count);
}
See Also