docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsHierarchy

    IsHierarchy(Subgraph, DependencyGraph)

    Determines whether a subgraph forms a hierarchy rooted at its sources.

    Declaration
    public static bool IsHierarchy(Subgraph subgraph, DependencyGraph dependencyGraph)
    Parameters
    Type Name Description
    Subgraph subgraph

    The subgraph instance to evaluate for hierarchical structure.

    DependencyGraph dependencyGraph

    The dependency graph that contains the subgraph nodes.

    Returns
    Type Description
    bool

    True when the subgraph is hierarchical.

    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)