docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Stop Watch

    The Stop Watch node let the flow execute when time duration is reached.

    Ports

    Inputs

    Port Name Type Default Value Description
    Trigger Trigger the start of the timer if not finished. Restart the timer if duration time is reached and the trigger is executed.
    Trigger Trigger stop and reset the timer.
    Trigger Pauses the timer. Will start from current time when triggering the Start input again.
    Trigger Trigger Reset the timer to 0. If the timer wasn't done, it will restart.
    [Float] Duration time in seconds

    Outputs

    Port Name Type Default Value Description
    Trigger Execute next action even if duration is not reached.
    Trigger Execute next action when the duration is reached.
    [Float] Return the seconds elapsed since the start of the Stop Watch
    [Float] Return the percentage progress of the time. Value is between 0.0 to 1.0.
    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)