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