Class Control | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Control

    Inheritance
    System.Object
    Control
    DefaultControl
    GenericControl
    Namespace: UnityEditor.U2D.Path.GUIFramework
    Syntax
    public abstract class Control

    Constructors

    Control(String)

    Declaration
    public Control(string name)
    Parameters
    Type Name Description
    System.String name

    Properties

    actionID

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

    hotLayoutData

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

    ID

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

    layoutData

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

    name

    Declaration
    public string name { get; }
    Property Value
    Type Description
    System.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
    System.Int32

    GetDistance(IGUIState, Int32)

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

    GetForward(IGUIState, Int32)

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

    GetPosition(IGUIState, Int32)

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

    GetRight(IGUIState, Int32)

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

    GetUp(IGUIState, Int32)

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

    GetUserData(IGUIState, Int32)

    Declaration
    protected virtual object GetUserData(IGUIState guiState, int index)
    Parameters
    Type Name Description
    IGUIState guiState
    System.Int32 index
    Returns
    Type Description
    System.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, Int32)

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

    Repaint(IGUIState)

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