docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindLeafNodes

    FindLeafNodes(T)

    Finds all leaf nodes reachable from the given node.

    Declaration
    public HashSet<T> FindLeafNodes(T node)
    Parameters
    Type Name Description
    T node

    The node to start from.

    Returns
    Type Description
    HashSet<T>

    The set of reachable leaf nodes.

    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)