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

    Class ClickAction

    Inheritance
    System.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)
    Namespace: UnityEditor.U2D.Path.GUIFramework
    Syntax
    public class ClickAction : HoveredControlAction

    Constructors

    ClickAction(Control, Int32, Boolean)

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

    Fields

    clickCount

    Declaration
    public int clickCount
    Field Value
    Type Description
    System.Int32

    onClick

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

    Methods

    GetFinishContidtion(IGUIState)

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

    GetTriggerContidtion(IGUIState)

    Declaration
    protected override bool GetTriggerContidtion(IGUIState guiState)
    Parameters
    Type Name Description
    IGUIState guiState
    Returns
    Type Description
    System.Boolean
    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
    • Constructors
      • ClickAction(Control, Int32, Boolean)
    • Fields
      • clickCount
      • onClick
    • Methods
      • GetFinishContidtion(IGUIState)
      • GetTriggerContidtion(IGUIState)
      • OnTrigger(IGUIState)
    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