Class SimSecondsCondition
Condition object to evaluate if a specific number of simulation seconds (scaled) since object instantiation have elapsed.
Implements
Inherited Members
Namespace: Unity.SimulationPro
Assembly: Unity.SimulationPro.Capture.dll
Syntax
public class SimSecondsCondition : ICondition
Constructors
SimSecondsCondition(double)
Creates a new SimSecondsCondition that triggers after the specified scaled simulation time.
Declaration
public SimSecondsCondition(double seconds)
Parameters
| Type | Name | Description |
|---|---|---|
| double | seconds | The number of scaled simulation seconds that must elapse. |
Methods
HasConditionBeenMet()
Check if the specified number of simulation seconds (scaled) have passed.
Declaration
public bool HasConditionBeenMet()
Returns
| Type | Description |
|---|---|
| bool | True if the specified number of seconds has elapsed. |