Class NetworkObjectOwnershipTests
Inheritance
NetworkObjectOwnershipTests
Syntax
public class NetworkObjectOwnershipTests : NetcodeIntegrationTest
Constructors
NetworkObjectOwnershipTests(NetcodeIntegrationTest.HostOrServer)
Declaration
public NetworkObjectOwnershipTests(NetcodeIntegrationTest.HostOrServer hostOrServer)
Parameters
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
OnServerAndClientsCreated()
Declaration
protected override void OnServerAndClientsCreated()
Overrides
TestOwnershipCallbacks()
Declaration
public IEnumerator TestOwnershipCallbacks()
Returns
TestOwnershipCallbacksSeveralClients()
Verifies that switching ownership between several clients works properly
Declaration
public IEnumerator TestOwnershipCallbacksSeveralClients()
Returns
TestPlayerIsOwned()
Declaration
public void TestPlayerIsOwned()