docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Control

    Inheritance
    object
    Control
    DefaultControl
    GenericControl
    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.GUIFramework
    Assembly: Unity.2D.Path.Editor.dll
    Syntax
    public abstract class Control

    Constructors

    Control(string)

    Declaration
    public Control(string name)
    Parameters
    Type Name Description
    string name

    Properties

    ID

    Declaration
    public int ID { get; }
    Property Value
    Type Description
    int

    actionID

    Declaration
    public int actionID { get; }
    Property Value
    Type Description
    int

    hotLayoutData

    Declaration
    public LayoutData hotLayoutData { get; }
    Property Value
    Type Description
    LayoutData

    layoutData

    Declaration
    public LayoutData layoutData { get; set; }
    Property Value
    Type Description
    LayoutData

    name

    Declaration
    public string name { get; }
    Property Value
    Type Description
    string

    Methods

    BeginLayout(IGUIState)

    Declaration
    public void BeginLayout(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState

    EndLayout(IGUIState)

    Declaration
    public void EndLayout(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState

    GetControl(IGUIState)

    Declaration
    public void GetControl(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState

    GetCount()

    Declaration
    protected virtual int GetCount()
    Returns
    Type Description
    int

    GetDistance(IGUIState, int)

    Declaration
    protected virtual float GetDistance(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index
    Returns
    Type Description
    float

    GetForward(IGUIState, int)

    Declaration
    protected virtual Vector3 GetForward(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index
    Returns
    Type Description
    Vector3

    GetPosition(IGUIState, int)

    Declaration
    protected virtual Vector3 GetPosition(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index
    Returns
    Type Description
    Vector3

    GetRight(IGUIState, int)

    Declaration
    protected virtual Vector3 GetRight(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index
    Returns
    Type Description
    Vector3

    GetUp(IGUIState, int)

    Declaration
    protected virtual Vector3 GetUp(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index
    Returns
    Type Description
    Vector3

    GetUserData(IGUIState, int)

    Declaration
    protected virtual object GetUserData(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index
    Returns
    Type Description
    object

    Layout(IGUIState)

    Declaration
    public void Layout(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState

    OnBeginLayout(LayoutData, IGUIState)

    Declaration
    protected virtual LayoutData OnBeginLayout(LayoutData data, IGUIState guiState)
    Parameters
    Type Name Description
    LayoutData data
    IGUIState guiState
    Returns
    Type Description
    LayoutData

    OnEndLayout(IGUIState)

    Declaration
    protected virtual void OnEndLayout(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState

    OnRepaint(IGUIState, int)

    Declaration
    protected virtual void OnRepaint(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    int index

    Repaint(IGUIState)

    Declaration
    public void Repaint(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    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)