Class AddNetworkPrefabTest
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class AddNetworkPrefabTest : NetcodeIntegrationTest
Properties
| Name | Description |
|---|---|
| NumberOfClients |
Methods
| Name | Description |
|---|---|
| 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. |
| OnSetup() | Called before creating and starting the server and clients Note: For AllTests and PerTest mode integration tests. For those two modes, if you want to have access to the server or client NetworkManagers then override OnServerAndClientsCreated(). m_ServerNetworkManager and m_ClientNetworkManagers |
| WhenSpawningAfterAddingPrefabOnServerAndClient_SpawnSucceeds() | |
| WhenSpawningAfterAddingServerPrefabButBeforeAddingClientPrefab_SpawnFails() | |
| WhenSpawningAfterRemovingPrefabOnClient_SpawnFails() | |
| WhenSpawningBeforeAddingPrefab_SpawnFails() |