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

    Interface IInit

    Interface for receiving constructor calls on INodeData, whenever a new node is created.

    This supersedes

    Namespace: Unity.DataFlowGraph
    Syntax
    public interface IInit

    Methods

    Init(InitContext)

    Constructor function, called for each instantiation of this type. Create<TDefinition>()

    Declaration
    void Init(InitContext ctx)
    Parameters
    Type Name Description
    InitContext ctx

    Provides initialization context and do-once operations for this particular node. Init(InitContext)

    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