We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6623f2f commit 54e965aCopy full SHA for 54e965a
Assets/Scripts/ExampleProgram.cs
@@ -30,13 +30,7 @@ internal class ExampleProgram : MonoBehaviour {
30
private void Start() {
31
// Get/instantiate simulation prefab
32
var simulator = Simulator.GetInstance();
33
-
34
- // Setup configuration for a scenario
35
- var caveConfig = new CaveMapConfig(123, widthInTiles: 75, heightInTiles: 75);
36
- var scenario = new SimulationScenario(123, mapSpawner: generator => generator.GenerateCaveMap(caveConfig));
37
- simulator.EnqueueScenario(scenario);
38
39
- simulator.PressPlayButton(); // Instantly enter play mode
+ simulator.DefaultStart(true);
40
}
41
42
0 commit comments