Struct TimerTask | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TimerTask

    The timer task returns a running status for a specified amount of time in seconds and a success status afterwards.

    Namespace: Unity.Kinematica
    Syntax
    [Data("Timer", "#2A3756", DataType.Flag.None)]
    public struct TimerTask : Task

    Methods

    Execute()

    Execute method for the timer task.

    Declaration
    public Result Execute()
    Returns
    Type Description
    Result

    Returns running for the duration of the specified time; success upon completion.

    Implements
    Task.Execute()
    Remarks

    The timer task returns a running status for a specified amount of time in seconds and a success status afterwards.

    ExecuteSelf(ref TaskRef)

    Surrogate method for automatic task execution.

    Declaration
    public static Result ExecuteSelf(ref TaskRef self)
    Parameters
    Type Name Description
    TaskRef self

    Task reference that is supposed to be executed.

    Returns
    Type Description
    Result

    Result of the task execution.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023