Class ActionMenuItemAttribute
Attribute used to tag Action classes in order to be added to VR menus
Namespace: UnityEditor.Experimental.EditorVR
Syntax
public class ActionMenuItemAttribute : Attribute, _Attribute, ITooltip
Constructors
ActionMenuItemAttribute(String, String, Int32)
Constructor
Declaration
public ActionMenuItemAttribute(string name, string sectionName = null, int priority = 2147483647)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of this action |
String | sectionName | The name of the section in which this action should reside |
Int32 | priority | The ordinal of this action within the section it resides |
Properties
tooltipText
The tooltip string
Declaration
public string tooltipText { get; }
Property Value
Type | Description |
---|---|
String |