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

    Class CommandAction

    Inheritance
    System.Object
    GUIAction
    CommandAction
    Inherited Members
    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.CanTrigger(IGUIState)
    GUIAction.OnTrigger(IGUIState)
    GUIAction.OnPerform(IGUIState)
    Namespace: UnityEditor.U2D.Path.GUIFramework
    Syntax
    public class CommandAction : GUIAction

    Constructors

    CommandAction(String)

    Declaration
    public CommandAction(string commandName)
    Parameters
    Type Name Description
    System.String commandName

    Fields

    onCommand

    Declaration
    public Action<IGUIState> onCommand
    Field Value
    Type Description
    System.Action<IGUIState>

    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)

    OnFinish(IGUIState)

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