Interface IUpdate | Data Flow Graph | 0.19.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IUpdate

    Interface for receiving update calls on INodeData, issued once for every call to Update() if the implementing node in question has registered itself for updating

    • , or .

    Note that there is NO implicit nor explicit ordering between nodes' Update(UpdateContext), in addition it is not stable either.

    If you need updates to occur in topological order (trickled downstream) in simulation, you should emit a message downstream that other nodes react to through connections.

    This supersedes

    Namespace: Unity.DataFlowGraph
    Syntax
    public interface IUpdate

    Methods

    Update(UpdateContext)

    Update function. IUpdate.

    Declaration
    void Update(UpdateContext ctx)
    Parameters
    Type Name Description
    UpdateContext ctx
    Remarks

    It is undefined behaviour to throw an exception from this method.

    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