docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindLastTriggerIndex

    FindLastTriggerIndex(double)

    Determines the index of the last (inclusive) trigger to occur strictly before the given time.

    Declaration
    protected int FindLastTriggerIndex(double endTime)
    Parameters
    Type Name Description
    double endTime

    The time in seconds the last trigger must occur before.

    Returns
    Type Description
    int

    The trigger index. Can be negative.

    In This Article
    Back to top
    Copyright © 2024 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)