Inheritance
ContextualMenu.MenuAction
Assembly: UnityEngine.dll
[Obsolete("ContextualMenu.MenuAction has been deprecated. Use DropdownMenu.MenuAction instead.", true)]
public class MenuAction : ContextualMenu.MenuItem
Constructors
|
Improve this Doc
View Source
Declaration
public MenuAction(string actionName, Action<ContextualMenu.MenuAction> actionCallback, Func<ContextualMenu.MenuAction, ContextualMenu.MenuAction.StatusFlags> actionStatusCallback, object userData = null)
Parameters
Fields
|
Improve this Doc
View Source
Declaration
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public ContextualMenu.EventInfo eventInfo { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public ContextualMenu.MenuAction.StatusFlags status { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public object userData { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public static ContextualMenu.MenuAction.StatusFlags AlwaysDisabled(ContextualMenu.MenuAction a)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static ContextualMenu.MenuAction.StatusFlags AlwaysEnabled(ContextualMenu.MenuAction a)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public void UpdateActionStatus(ContextualMenu.EventInfo eventInfo)
Parameters
Extension Methods