docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FrameCountCondition

    Condition object to evaluate if a specific number of frames since object instantiation have elapsed.

    Inheritance
    object
    FrameCountCondition
    Implements
    ICondition
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.SimulationPro
    Assembly: Unity.SimulationPro.Capture.dll
    Syntax
    public class FrameCountCondition : ICondition

    Constructors

    FrameCountCondition(int)

    Creates a new FrameCountCondition that triggers after the specified number of frames.

    Declaration
    public FrameCountCondition(int frameCount)
    Parameters
    Type Name Description
    int frameCount

    The number of frames that must elapse before the condition is met.

    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.

    Implements

    ICondition
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)