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 |