using System; namespace UnityEngine.Perception.Randomization.Scenarios { /// /// The base class of scenarios with serializable constants /// /// The type of scenario constants to serialize public abstract class Scenario : ScenarioBase where T : ScenarioConstants, new() { /// /// A construct containing serializable constants that control the execution of this scenario /// public T constants = new T(); /// public override ScenarioConstants genericConstants => constants; } }