docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RectSelector<T>

    Inheritance
    object
    RectSelector<T>
    PointRectSelector
    Implements
    ISelector<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.U2D.Path
    Assembly: Unity.2D.Path.Editor.dll
    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
    Action<ISelector<T>, bool>

    onSelectionChanged

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

    onSelectionEnd

    Declaration
    public Action<ISelector<T>> onSelectionEnd
    Field Value
    Type Description
    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
    bool

    Implements

    ISelector<T>
    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)