private void Simulate() { SpawnTimeGenerator.SetLambda(_lambdaState); for (int i = 0; i < 300; i++) { _simulationMaster.UpdateSimulation(SimulatedCycleTime); } _lambdaState += 0.0002f; if (_lambdaState >= 0.1) { _testState = TestState.CalculateResults; } }
public void OnValueChanged(float value) { SpawnTimeGenerator.SetLambda(value); }