Class NetworkObjectPropertyTests
Tests properties of NetworkObject for proper functionality.
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetworkObjectPropertyTests : NetcodeIntegrationTest
Properties
Name | Description |
---|---|
NumberOfClients |
Methods
Name | Description |
---|---|
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. |
TestPrefabHashIdPropertyIsAPrefab() | Tests PrefabHashId returns correctly when the NetworkObject is a prefab. |
TestPrefabHashIdPropertyNotAPrefab() | Tests PrefabHashId returns correctly when the NetworkObject is not a prefab. |