Class NetworkVariableCollectionsChangingTests
Inheritance
NetworkVariableCollectionsChangingTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.Host, NetworkVariableCollectionsChangingTests.CollectionTypes.List })]
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.Host, NetworkVariableCollectionsChangingTests.CollectionTypes.Dictionary })]
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.Server, NetworkVariableCollectionsChangingTests.CollectionTypes.List })]
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.Server, NetworkVariableCollectionsChangingTests.CollectionTypes.Dictionary })]
public class NetworkVariableCollectionsChangingTests : NetcodeIntegrationTest
Constructors
NetworkVariableCollectionsChangingTests(HostOrServer, CollectionTypes)
Declaration
public NetworkVariableCollectionsChangingTests(NetcodeIntegrationTest.HostOrServer hostOrServer, NetworkVariableCollectionsChangingTests.CollectionTypes collectionType)
Parameters
Properties
NumberOfClients
Gets the number of clients to be created for the integration test.
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
CollectionAndOwnershipChangingTest()
Declaration
[UnityTest]
public IEnumerator CollectionAndOwnershipChangingTest()
Returns
CollectionFastChangingTest()
Declaration
[UnityTest]
public IEnumerator CollectionFastChangingTest()
Returns
OnServerAndClientsCreated()
This is invoked before the server and client(s) are started.
Override this method if you want to make any adjustments to their
NetworkManager instances.
Declaration
protected override void OnServerAndClientsCreated()
Overrides