docs.unity3d.com
    目次を表示する/隠す

    Class MenuPathAttribute

    An attribute placed to describe a menu path.

    Inheritance
    Object
    Attribute
    MenuPathAttribute
    CreateConnectionMenuItemAttribute
    CreateDeviceMenuItemAttribute
    CreateTimecodeSourceMenuItemAttribute
    SyncProviderAttribute
    Namespace: Unity.LiveCapture
    Syntax
    public abstract class MenuPathAttribute : Attribute, _Attribute
    Remarks

    This is used similarly to the MenuItem attribute.

    Constructors

    MenuPathAttribute(String, Int32)

    Creates a new MenuPathAttribute instance.

    Declaration
    protected MenuPathAttribute(string itemName, int priority = 0)
    Parameters
    Type Name Description
    String itemName

    The menu item represented like a path name. For example, the menu item could be "Sub Menu/Action".

    Int32 priority

    The order by which the menu items are displayed. Items in the same sub menu have a separator placed between them if their priority differs by more than 10.

    Properties

    ItemName

    The menu item represented like a path name. For example, the menu item could be "Sub Menu/Action".

    Declaration
    public string ItemName { get; }
    Property Value
    Type Description
    String

    Priority

    The order by which the menu items are displayed. Items in the same sub menu have a separator placed between them if their priority differs by more than 10.

    Declaration
    public int Priority { get; }
    Property Value
    Type Description
    Int32
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)