docs.unity3d.com
    Show / Hide Table of Contents

    Class EditorMultiplayerRolesManager.AutomaticSelection

    Inheritance
    Object
    EditorMultiplayerRolesManager.AutomaticSelection
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Multiplayer.Editor
    Syntax
    public static class AutomaticSelection

    Properties

    StripAudioComponents

    Declaration
    public static bool StripAudioComponents { get; set; }
    Property Value
    Type Description
    Boolean

    StripRenderingComponents

    Declaration
    public static bool StripRenderingComponents { get; set; }
    Property Value
    Type Description
    Boolean

    StripUIComponents

    Declaration
    public static bool StripUIComponents { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    GetCustomComponents()

    Gets the list of custom components that are automatically selected for the entire project.

    Declaration
    public static Dictionary<Type, MultiplayerRoleFlags> GetCustomComponents()
    Returns
    Type Description
    Dictionary<Type, MultiplayerRoleFlags>

    Returns a Dictionary where the key is the component Type and the value is the MultiplayerRoleFlags.

    GetMultiplayerRoleMaskForComponentType(Type)

    Declaration
    public static MultiplayerRoleFlags GetMultiplayerRoleMaskForComponentType(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    MultiplayerRoleFlags

    SetCustomComponents(Dictionary<Type, MultiplayerRoleFlags>)

    Sets the list of custom components that are automatically selected for the entire project.

    Declaration
    public static void SetCustomComponents(Dictionary<Type, MultiplayerRoleFlags> customComponents)
    Parameters
    Type Name Description
    Dictionary<Type, MultiplayerRoleFlags> customComponents

    A Dictionary where the key is the component Type and the value is the MultiplayerRoleFlags.

    SetMultiplayerRoleMaskForComponentType(Type, MultiplayerRoleFlags)

    Declaration
    public static void SetMultiplayerRoleMaskForComponentType(Type type, MultiplayerRoleFlags mask)
    Parameters
    Type Name Description
    Type type
    MultiplayerRoleFlags mask
    Back to top
    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