docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Add

    Add<T>(T)

    Adds an element to the current selection.

    Declaration
    public static bool Add<T>(T element) where T : ISelectableElement
    Parameters
    Type Name Description
    T element

    The ISelectableElement to add to the selection.

    Returns
    Type Description
    bool

    Returns true if the element was added to the selection, and false if the element is already in the selection.

    Type Parameters
    Name Description
    T

    SelectableKnot or SelectableTangent.

    In This Article
    Back to top
    Copyright © 2024 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)