Class USimScenario<T>
Defines a scenario that is compatible with the Run in USim window
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Scenarios
Syntax
public abstract class USimScenario<T> : Scenario<T> where T : USimConstants, new()
Type Parameters
Name | Description |
---|---|
T | The type of constants to serialize |
Properties
isScenarioComplete
Returns whether the entire scenario has completed
Declaration
public override sealed bool isScenarioComplete { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Methods
Deserialize()
Deserializes this scenario's constants from the USim AppParams Json file
Declaration
public override sealed void Deserialize()
Overrides
UnityEngine.Experimental.Perception.Randomization.Scenarios.Scenario<T>.Deserialize()
IncrementIteration()
Progresses the current scenario iteration
Declaration
protected override sealed void IncrementIteration()
Overrides
OnAwake()
OnAwake is executed directly after this scenario has been registered and initialized
Declaration
protected override sealed void OnAwake()