docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SimSecondsCondition

    Condition object to evaluate if a specific number of simulation seconds (scaled) since object instantiation have elapsed.

    Inheritance
    object
    SimSecondsCondition
    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 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.

    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)