docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISelection<T>

    Namespace: UnityEditor.U2D.Path
    Assembly: Unity.2D.Path.Editor.dll
    Syntax
    public interface ISelection<T>
    Type Parameters
    Name Description
    T

    Properties

    Count

    Declaration
    int Count { get; }
    Property Value
    Type Description
    int

    activeElement

    Declaration
    T activeElement { get; set; }
    Property Value
    Type Description
    T

    elements

    Declaration
    T[] elements { get; set; }
    Property Value
    Type Description
    T[]

    Methods

    BeginSelection()

    Declaration
    void BeginSelection()

    Clear()

    Declaration
    void Clear()

    Contains(T)

    Declaration
    bool Contains(T element)
    Parameters
    Type Name Description
    T element
    Returns
    Type Description
    bool

    EndSelection(bool)

    Declaration
    void EndSelection(bool select)
    Parameters
    Type Name Description
    bool select

    Select(T, bool)

    Declaration
    bool Select(T element, bool select)
    Parameters
    Type Name Description
    T element
    bool select
    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 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)