Class NetworkObjectPropertyTests
Tests properties of NetworkObject for proper functionality.
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class NetworkObjectPropertyTests : NetcodeIntegrationTest
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
Methods
OnServerAndClientsCreated()
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()