docs.unity3d.com
    Show / Hide Table of Contents

    Class ClientServerBootstrap

    Inheritance
    System.Object
    ClientServerBootstrap
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Unity.NetCode
    Syntax
    public class ClientServerBootstrap : ICustomBootstrap

    Properties

    DefaultWorldSystems

    Declaration
    public static List<Type> DefaultWorldSystems { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Type>

    ExplicitDefaultWorldSystems

    Declaration
    public static List<Type> ExplicitDefaultWorldSystems { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Type>

    RequestedNumClients

    Declaration
    public static int RequestedNumClients { get; }
    Property Value
    Type Description
    System.Int32

    RequestedPlayType

    Declaration
    public static ClientServerBootstrap.PlayType RequestedPlayType { get; }
    Property Value
    Type Description
    ClientServerBootstrap.PlayType

    Methods

    CreateClientWorld(World, String)

    Declaration
    public static World CreateClientWorld(World defaultWorld, string name)
    Parameters
    Type Name Description
    World defaultWorld
    System.String name
    Returns
    Type Description
    World

    CreateServerWorld(World, String)

    Declaration
    public static World CreateServerWorld(World defaultWorld, string name)
    Parameters
    Type Name Description
    World defaultWorld
    System.String name
    Returns
    Type Description
    World

    GenerateSystemLists(List<Type>)

    Declaration
    protected static void GenerateSystemLists(List<Type> systems)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Type> systems

    GetSystemAttribute<T>(Type)

    Declaration
    protected static T GetSystemAttribute<T>(Type systemType)
        where T : Attribute
    Parameters
    Type Name Description
    System.Type systemType
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Initialize(String)

    Declaration
    public virtual bool Initialize(string defaultWorldName)
    Parameters
    Type Name Description
    System.String defaultWorldName
    Returns
    Type Description
    System.Boolean
    Implements
    ICustomBootstrap.Initialize(string)
    Back to top
    Copyright © 2025 Unity Technologies
    • 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 02 April 2025