Class RectSelector<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class RectSelector<T>

    Inheritance
    System.Object
    RectSelector<T>
    PointRectSelector
    Namespace: UnityEditor.U2D.Path
    Syntax
    public abstract class RectSelector<T> : ISelector<T>
    Type Parameters
    Name Description
    T

    Constructors

    RectSelector()

    Declaration
    public RectSelector()

    RectSelector(GUISystem)

    Declaration
    public RectSelector(GUISystem guiSystem)
    Parameters
    Type Name Description
    GUISystem guiSystem

    Fields

    onSelectionBegin

    Declaration
    public Action<ISelector<T>, bool> onSelectionBegin
    Field Value
    Type Description
    System.Action<ISelector<T>, System.Boolean>

    onSelectionChanged

    Declaration
    public Action<ISelector<T>> onSelectionChanged
    Field Value
    Type Description
    System.Action<ISelector<T>>

    onSelectionEnd

    Declaration
    public Action<ISelector<T>> onSelectionEnd
    Field Value
    Type Description
    System.Action<ISelector<T>>

    Properties

    guiRect

    Declaration
    public Rect guiRect { get; }
    Property Value
    Type Description
    Rect

    Methods

    OnGUI()

    Declaration
    public void OnGUI()

    Select(T)

    Declaration
    protected abstract bool Select(T element)
    Parameters
    Type Name Description
    T element
    Returns
    Type Description
    System.Boolean

    Explicit Interface Implementations

    ISelector<T>.Select(T)

    Declaration
    bool ISelector<T>.Select(T element)
    Parameters
    Type Name Description
    T element
    Returns
    Type Description
    System.Boolean
    Implements
    ISelector<T>.Select(T)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023