docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MenuPriority

    Priorities for menu item ordering. See MenuEntryAttribute.

    Inheritance
    object
    MenuPriority
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Timeline.Actions
    Assembly: Unity.Timeline.Editor.dll
    Syntax
    public static class MenuPriority

    Fields

    defaultPriority

    Default priority for a menu. It will add at the end of the context menu before the 'add' menus.

    Declaration
    public const int defaultPriority = 9000
    Field Value
    Type Description
    int

    separatorAt

    This value is the separator difference that will be needed to create a separator between menu item.

    Declaration
    public const int separatorAt = 1000
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)