Class NetworkObjectOwnershipTests
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetworkObjectOwnershipTests : NetcodeIntegrationTest
Constructors
| Name | Description |
|---|---|
| NetworkObjectOwnershipTests(HostOrServer) |
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. |
| TestOwnedObjectCounts() | |
| TestOwnershipCallbacks(OwnershipChecks) | |
| TestOwnershipCallbacksSeveralClients(OwnershipChecks) | Verifies that switching ownership between several clients works properly |
| TestPlayerIsOwned() |