docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Implement a context node

    Before you start, read Introduction to context nodes to understand the core concepts.

    To implement a context node, define a class that inherits from the ContextNode base class:

    
    [Serializable]
    public class MyContextNode : ContextNode
    {
    }
    
    

    Context nodes inherit all features available in its parent Node class. Review Implement a node to learn how to customize your node with node options, ports, and orientation settings.

    Next steps

    • Instantiate context nodes in your graph
    • Implement a block node

    Related scripting API documentation

    • ContextNode
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)