docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetNeighbors

    GetNeighbors(T)

    Gets the neighbors for the specified node.

    Declaration
    public List<T> GetNeighbors(T node)
    Parameters
    Type Name Description
    T node

    The node to query.

    Returns
    Type Description
    List<T>

    A list of neighboring 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)