Class NetworkVariableCollectionsChangingTests
Inheritance
NetworkVariableCollectionsChangingTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.DAHost, NetworkVariableCollectionsChangingTests.CollectionTypes.List })]
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.DAHost, NetworkVariableCollectionsChangingTests.CollectionTypes.Dictionary })]
[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
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
CollectionAndOwnershipChangingTest()
Declaration
[UnityTest]
public IEnumerator CollectionAndOwnershipChangingTest()
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