docs.unity3d.com
    Show / Hide Table of Contents

    Class NetCodeTestWorld

    Inheritance
    System.Object
    NetCodeTestWorld
    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.Tests
    Syntax
    public class NetCodeTestWorld : IDisposable

    Constructors

    NetCodeTestWorld()

    Declaration
    public NetCodeTestWorld()

    Properties

    ClientWorlds

    Declaration
    public World[] ClientWorlds { get; }
    Property Value
    Type Description
    World[]

    DefaultWorld

    Declaration
    public World DefaultWorld { get; }
    Property Value
    Type Description
    World

    ServerWorld

    Declaration
    public World ServerWorld { get; }
    Property Value
    Type Description
    World

    Methods

    Bootstrap(Boolean, Type[])

    Declaration
    public void Bootstrap(bool includeNetCodeSystems, params Type[] userSystems)
    Parameters
    Type Name Description
    System.Boolean includeNetCodeSystems
    System.Type[] userSystems

    CreateWorlds(Boolean, Int32)

    Declaration
    public void CreateWorlds(bool server, int numClients)
    Parameters
    Type Name Description
    System.Boolean server
    System.Int32 numClients

    Dispose()

    Declaration
    public void Dispose()
    Implements
    System.IDisposable.Dispose()

    Tick(Single)

    Declaration
    public void Tick(float dt)
    Parameters
    Type Name Description
    System.Single dt
    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