Class NetworkObjectPropertyTests
Tests properties of NetworkObject for proper functionality.
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetworkObjectPropertyTests : NetcodeIntegrationTest
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Type | Description |
---|---|
int |
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
TestPrefabHashIdPropertyIsAPrefab()
Tests PrefabHashId returns correctly when the NetworkObject is a prefab.
Declaration
public void TestPrefabHashIdPropertyIsAPrefab()
TestPrefabHashIdPropertyNotAPrefab()
Tests PrefabHashId returns correctly when the NetworkObject is not a prefab.
Declaration
public void TestPrefabHashIdPropertyNotAPrefab()