Struct ParallelTask | Kinematica | 0.5.0-preview.1
docs.unity.cn
    Show / Hide Table of Contents

    Struct ParallelTask

    The parallel task executes all of its children in order until it encounters a non-success status.

    Namespace: Unity.Kinematica
    Syntax
    [Data("Parallel", "#2A5637", DataType.Flag.None)]
    public struct ParallelTask : Task

    Methods

    Execute()

    Execute method for the parallel task.

    Declaration
    public Result Execute()
    Returns
    Type Description
    Result

    Result of the child task that didn't execute successfully; success if the parallel task has no children.

    Implements
    Task.Execute()
    Remarks

    The parallel task executes all of its children in order until it encounters a non-success status.

    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.

    Operators

    Implicit(ParallelTask to Identifier<ParallelTask>)

    Implicit cast operator that allows to convert a parallel task into a typed identifier.

    Declaration
    public static implicit operator Identifier<ParallelTask>(ParallelTask task)
    Parameters
    Type Name Description
    ParallelTask task
    Returns
    Type Description
    Identifier<ParallelTask>
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX