docs.unity3d.com
    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
    MenuPathAttribute
    CreateServerMenuItemAttribute
    Inherited Members
    MenuPathAttribute.ItemName
    MenuPathAttribute.Priority
    Namespace: Unity.LiveCapture
    Syntax
    public class CreateServerMenuItemAttribute : MenuPathAttribute

    Constructors

    CreateServerMenuItemAttribute(String, Int32)

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

    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023