Class ActionMenuItemAttribute | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class ActionMenuItemAttribute

    Attribute used to tag Action classes in order to be added to VR menus

    Inheritance
    Object
    Attribute
    ActionMenuItemAttribute
    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
    Implements
    ITooltip.tooltipText
    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