docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ClickAction

    Inheritance
    object
    GUIAction
    HoveredControlAction
    ClickAction
    CreatePointAction
    SliderAction
    Inherited Members
    HoveredControlAction.hoveredControl
    HoveredControlAction.CanTrigger(IGUIState)
    GUIAction.enable
    GUIAction.enableRepaint
    GUIAction.repaintOnMouseMove
    GUIAction.onPreRepaint
    GUIAction.onRepaint
    GUIAction.ID
    GUIAction.OnGUI(IGUIState)
    GUIAction.IsEnabled(IGUIState)
    GUIAction.IsRepaintEnabled(IGUIState)
    GUIAction.PreRepaint(IGUIState)
    GUIAction.OnPerform(IGUIState)
    GUIAction.OnFinish(IGUIState)
    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 class ClickAction : HoveredControlAction

    Constructors

    ClickAction(Control, int, bool)

    Declaration
    public ClickAction(Control control, int button, bool useEvent = true)
    Parameters
    Type Name Description
    Control control
    int button
    bool useEvent

    Fields

    clickCount

    Declaration
    public int clickCount
    Field Value
    Type Description
    int

    onClick

    Declaration
    public Action<IGUIState, Control> onClick
    Field Value
    Type Description
    Action<IGUIState, Control>

    Methods

    GetFinishContidtion(IGUIState)

    Declaration
    protected override bool GetFinishContidtion(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool
    Overrides
    GUIAction.GetFinishContidtion(IGUIState)

    GetTriggerContidtion(IGUIState)

    Declaration
    protected override bool GetTriggerContidtion(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    bool
    Overrides
    GUIAction.GetTriggerContidtion(IGUIState)

    OnTrigger(IGUIState)

    Declaration
    protected override void OnTrigger(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Overrides
    HoveredControlAction.OnTrigger(IGUIState)
    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)