Class NetworkObjectDontDestroyWithOwnerTests
Inheritance
NetworkObjectDontDestroyWithOwnerTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.Host })]
[TestFixture(new object[] { NetcodeIntegrationTest.HostOrServer.Server })]
public class NetworkObjectDontDestroyWithOwnerTests : NetcodeIntegrationTest
Constructors
NetworkObjectDontDestroyWithOwnerTests(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
[UnityTest]
public IEnumerator DontDestroyWithOwnerTest()
Returns
OnServerAndClientsCreated()
Declaration
protected override void OnServerAndClientsCreated()
Overrides