docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Implement a context node

    Important

    This experimental package is deprecated and no longer supported as of Unity version 6.4. Unity Graph Toolkit is included as a module in the Editor as of Unity version 6.4 and later, and does not require a separate installation. You can find the samples and accompanying documentation in the Unity Graph Toolkit samples package com.unity.graphtoolkit-samples.

    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 © 2026 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)