Interface IMsgHandler<TMsg> | Data Flow Graph | 0.16.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IMsgHandler<TMsg>

    Interface to be implemented by NodeDefinition<TNodeData, TSimulationPortDefinition> or other variant which includes an ISimulationPortDefinition that contains MessageInput<TDefinition, TMsg> fields. This interface is used to handle messages which arrive on those MessageInput<TDefinition, TMsg> ports.

    Namespace: Unity.DataFlowGraph
    Syntax
    public interface IMsgHandler<TMsg>
    Type Parameters
    Name Description
    TMsg

    Methods

    HandleMessage(MessageContext, TMsg)

    Declaration
    void HandleMessage(in MessageContext ctx, in TMsg msg)
    Parameters
    Type Name Description
    MessageContext ctx
    TMsg msg
    In This Article
    • Methods
      • HandleMessage(MessageContext, TMsg)
    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