Class PlayerObjectTests
Inheritance
PlayerObjectTests
Assembly: solution.dll
Syntax
public class PlayerObjectTests : NetcodeIntegrationTest
Constructors
PlayerObjectTests(HostOrServer)
Declaration
public PlayerObjectTests(NetcodeIntegrationTest.HostOrServer hostOrServer)
Parameters
Fields
m_NewPlayerToSpawn
Declaration
protected GameObject m_NewPlayerToSpawn
Field Value
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
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
SpawnAndReplaceExistingPlayerObject()
Declaration
[UnityTestAttribute]
public IEnumerator SpawnAndReplaceExistingPlayerObject()
Returns