docs.unity3d.com
    Show / Hide Table of Contents

    Struct AutomaticSelectionOptions

    Namespace: Unity.DedicatedServer
    Syntax
    [Serializable]
    public struct AutomaticSelectionOptions

    Properties

    StripAudioComponents

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

    StripRenderingComponents

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

    StripUIComponents

    Declaration
    public 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 Dictionary<Type, MultiplayerTarget> GetCustomComponents()
    Returns
    Type Description
    Dictionary<Type, MultiplayerTarget>

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

    SetCustomComponents(Dictionary<Type, MultiplayerTarget>)

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

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

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

    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