docs.unity.cn
    Show / Hide Table of Contents

    Class MenuPriority

    Priorities for menu item ordering. See MenuEntryAttribute.

    Inheritance
    Object
    MenuPriority
    Namespace: UnityEditor.Timeline.Actions
    Syntax
    public static class MenuPriority : object

    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 = null
    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 = null
    Field Value
    Type Description
    Int32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 21, 2021