Class Scenario<T>
The base class of scenarios with serializable constants
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Scenarios
Syntax
public abstract class Scenario<T> : ScenarioBase where T : ScenarioConstants, new()
Type Parameters
| Name | Description |
|---|---|
| T | The type of scenario constants to serialize |
Fields
constants
A construct containing serializable constants that control the execution of this scenario
Declaration
public T constants
Field Value
| Type | Description |
|---|---|
| T |
Properties
genericConstants
Returns this scenario's non-typed serialized constants
Declaration
public override ScenarioConstants genericConstants { get; }
Property Value
| Type | Description |
|---|---|
| ScenarioConstants |