Class NetworkObjectDontDestroyWithOwnerTests
Inheritance
NetworkObjectDontDestroyWithOwnerTests
Syntax
public class NetworkObjectDontDestroyWithOwnerTests : NetcodeIntegrationTest
Constructors
NetworkObjectDontDestroyWithOwnerTests(NetcodeIntegrationTest.HostOrServer)
Declaration
public NetworkObjectDontDestroyWithOwnerTests(NetcodeIntegrationTest.HostOrServer hostOrServer)
Parameters
Fields
m_PrefabToSpawn
Declaration
protected GameObject m_PrefabToSpawn
Field Value
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
DontDestroyWithOwnerTest()
Declaration
public IEnumerator DontDestroyWithOwnerTest()
Returns
OnServerAndClientsCreated()
Declaration
protected override void OnServerAndClientsCreated()
Overrides