docs.unity.cn
    Show / Hide Table of Contents

    Class RectSelector<T>

    Inheritance
    Object
    RectSelector<T>
    PointRectSelector
    Namespace: UnityEditor.U2D.Path
    Syntax
    public abstract class RectSelector<T> : object, 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>, Boolean>

    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
    Boolean

    Explicit Interface Implementations

    ISelector<T>.Select(T)

    Declaration
    bool ISelector<T>.Select(T element)
    Parameters
    Type Name Description
    T element
    Returns
    Type Description
    Boolean
    Implements
    ISelector<T>.Select(T)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 1, 2022
    Terms of use