docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GUIAction

    Inheritance
    object
    GUIAction
    CommandAction
    HoveredControlAction
    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 GUIAction

    Fields

    enable

    Declaration
    public Func<IGUIState, GUIAction, bool> enable
    Field Value
    Type Description
    Func<IGUIState, GUIAction, bool>

    enableRepaint

    Declaration
    public Func<IGUIState, GUIAction, bool> enableRepaint
    Field Value
    Type Description
    Func<IGUIState, GUIAction, bool>

    onPreRepaint

    Declaration
    public Action<IGUIState, GUIAction> onPreRepaint
    Field Value
    Type Description
    Action<IGUIState, GUIAction>

    onRepaint

    Declaration
    public Action<IGUIState, GUIAction> onRepaint
    Field Value
    Type Description
    Action<IGUIState, GUIAction>

    repaintOnMouseMove

    Declaration
    public Func<IGUIState, GUIAction, bool> repaintOnMouseMove
    Field Value
    Type Description
    Func<IGUIState, GUIAction, bool>

    Properties

    ID

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

    Methods

    CanTrigger(IGUIState)

    Declaration
    protected virtual bool CanTrigger(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool

    GetFinishContidtion(IGUIState)

    Declaration
    protected abstract bool GetFinishContidtion(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool

    GetTriggerContidtion(IGUIState)

    Declaration
    protected abstract bool GetTriggerContidtion(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool

    IsEnabled(IGUIState)

    Declaration
    public bool IsEnabled(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool

    IsRepaintEnabled(IGUIState)

    Declaration
    public bool IsRepaintEnabled(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool

    OnFinish(IGUIState)

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

    OnGUI(IGUIState)

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

    OnPerform(IGUIState)

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

    OnTrigger(IGUIState)

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

    PreRepaint(IGUIState)

    Declaration
    public void PreRepaint(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)