Class UnitySimulationScenario<T>
Defines a scenario that is compatible with the Run in Unity Simulation window
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Scenarios
Assembly: solution.dll
Syntax
public abstract class UnitySimulationScenario<T> : Scenario<T> where T : UnitySimulationConstants, new()
Type Parameters
Name | Description |
---|---|
T | The type of constants to serialize |
Properties
Name | Description |
---|---|
isScenarioComplete | Returns whether the entire scenario has completed |
Methods
Name | Description |
---|---|
Deserialize() | Deserializes this scenario's constants from the Unity Simulation AppParams Json file |
IncrementIteration() | Progresses the current scenario iteration |