Class NetworkBehaviourReferenceIntegrationTests
Integration tests for NetworkBehaviourReference
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetworkBehaviourReferenceIntegrationTests : NetcodeIntegrationTest
Properties
| Name | Description |
|---|---|
| NumberOfClients |
Methods
| Name | Description |
|---|---|
| OnCreatePlayerPrefab() | Override this to add components or adjustments to the default player prefab m_PlayerPrefab |
| TestTryGetWithAndWithOutExistingComponent() | This test validates that if a component does not exist the NetworkBehaviourReference will not throw an invalid cast exception. (It is a full integration test to assure the NetworkObjects are spawned) |