docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CreateServerMenuItemAttribute

    An attribute placed on Server implementations to specify where the server appears in the create server menu.

    Inheritance
    object
    Attribute
    MenuPathAttribute
    CreateServerMenuItemAttribute
    Inherited Members
    MenuPathAttribute.ItemName
    MenuPathAttribute.Priority
    Namespace: Unity.LiveCapture
    Assembly: Unity.LiveCapture.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    public class CreateServerMenuItemAttribute : MenuPathAttribute

    Constructors

    CreateServerMenuItemAttribute(string, int)

    Creates a new CreateServerMenuItemAttribute instance.

    Declaration
    public CreateServerMenuItemAttribute(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".

    int 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.

    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)