Skip to content

Commit 3124ee4

Browse files
committed
Minor cleanup to prepare for //build
1 parent 13b288a commit 3124ee4

File tree

1 file changed

+19
-24
lines changed
  • Samples/Islands/DrawingIsland/DrawingCsTestApp

1 file changed

+19
-24
lines changed

Samples/Islands/DrawingIsland/DrawingCsTestApp/Program.cs

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,25 @@
2828
siteBridge.ResizePolicy = ContentSizePolicy.ResizeContentToParentWindow;
2929
siteBridge.Show();
3030

31-
if (args.Contains("Lottie"))
32-
{
33-
// LottieIsland
34-
var lottie = LottieIslandScenario.CreateLottieIsland(compositor);
35-
siteBridge.Connect(lottie.Island);
36-
}
37-
else if (args.Contains("Duck"))
38-
{
39-
// SceneNodeIsland
40-
var island = DuckScenario.CreateIsland(compositor);
41-
siteBridge.Connect(island);
42-
}
43-
else if (args.Contains("Helmet"))
44-
{
45-
// SceneNodeIsland
46-
var island = HelmetScenario.CreateIsland(compositor);
47-
siteBridge.Connect(island);
48-
}
49-
else
50-
{
51-
// DrawingIsland
52-
var drawing = new DrawingIsland(compositor);
53-
siteBridge.Connect(drawing.Island);
54-
}
31+
#region Example 1
32+
var drawing = new DrawingIsland(compositor);
33+
siteBridge.Connect(drawing.Island);
34+
#endregion
35+
36+
#region Example 2
37+
//var lottie = LottieIslandScenario.CreateLottieIsland(compositor);
38+
//siteBridge.Connect(lottie.Island);
39+
#endregion
40+
41+
#region Example 3
42+
//var island = DuckScenario.CreateIsland(compositor);
43+
//siteBridge.Connect(island);
44+
#endregion
45+
46+
#region Example 4
47+
//var island = HelmetScenario.CreateIsland(compositor);
48+
//siteBridge.Connect(island);
49+
#endregion
5550

5651
// Move initial focus to the island.
5752
var focusNavigationHost = InputFocusNavigationHost.GetForSiteBridge(siteBridge);

0 commit comments

Comments
 (0)