Class ClientServerBootstrap | Unity NetCode | 0.2.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Class ClientServerBootstrap

    Inheritance
    Object
    ClientServerBootstrap
    Namespace: Unity.NetCode
    Syntax
    public class ClientServerBootstrap : ICustomBootstrap

    Properties

    DefaultWorldSystems

    Declaration
    public static List<Type> DefaultWorldSystems { get; }
    Property Value
    Type Description
    List<Type>

    ExplicitDefaultWorldSystems

    Declaration
    public static List<Type> ExplicitDefaultWorldSystems { get; }
    Property Value
    Type Description
    List<Type>

    RequestedNumClients

    Declaration
    public static int RequestedNumClients { get; }
    Property Value
    Type Description
    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
    String name
    Returns
    Type Description
    World

    CreateServerWorld(World, String)

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

    GenerateSystemLists(IReadOnlyList<Type>)

    Declaration
    protected static void GenerateSystemLists(IReadOnlyList<Type> systems)
    Parameters
    Type Name Description
    IReadOnlyList<Type> systems

    GetSystemAttribute<T>(Type)

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

    Initialize(String)

    Declaration
    public virtual bool Initialize(string defaultWorldName)
    Parameters
    Type Name Description
    String defaultWorldName
    Returns
    Type Description
    Boolean
    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