docs.unity.cn
    Show / Hide Table of Contents

    Class MenuPriority

    Priorities for menu item ordering. See MenuEntryAttribute.

    Inheritance
    Object
    MenuPriority
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Timeline.Actions
    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
    Int32

    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
    Int32
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023