Class FrameCountCondition
Condition object to evaluate if a specific number of frames since object instantiation have elapsed.
Implements
Inherited Members
Namespace: Unity.Simulation
Assembly: Unity.Simulation.Core.dll
Syntax
public class FrameCountCondition : ICondition
Constructors
FrameCountCondition(int)
Declaration
public FrameCountCondition(int frameCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | frameCount |
Methods
HasConditionBeenMet()
Check if the specified number of frames have passed.
Declaration
public bool HasConditionBeenMet()
Returns
| Type | Description |
|---|---|
| bool | True if the frame count has been met or exceeded. |