Class SimSecondsCondition
Condition object to evaluate if a specific number of simulation seconds (scaled) since object instantiation have elapsed.
Implements
Inherited Members
Namespace: Unity.Simulation
Assembly: Unity.Simulation.Core.dll
Syntax
public class SimSecondsCondition : ICondition
Constructors
SimSecondsCondition(double)
Declaration
public SimSecondsCondition(double seconds)
Parameters
| Type | Name | Description |
|---|---|---|
| double | seconds |
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. |