Class ClientServerBootstrap | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    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>

    RequestedPlayType

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

    Methods

    CreateClientWorld(World, String, World)

    Declaration
    public static World CreateClientWorld(World defaultWorld, string name, World worldToUse = null)
    Parameters
    Type Name Description
    World defaultWorld
    String name
    World worldToUse
    Returns
    Type Description
    World

    CreateServerWorld(World, String, World)

    Declaration
    public static World CreateServerWorld(World defaultWorld, string name, World worldToUse = null)
    Parameters
    Type Name Description
    World defaultWorld
    String name
    World worldToUse
    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
    Implements
    ICustomBootstrap.Initialize(String)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021