Class NetworkRigidbodyTest
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class NetworkRigidbodyTest : NetcodeIntegrationTest
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
OnCreatePlayerPrefab()
Override this to add components or adjustments to the default player prefab
m_Player
Declaration
protected override void OnCreatePlayerPrefab()
Overrides
TestRigidbodyKinematicEnableDisable()
Tests that a server can destroy a NetworkObject and that it gets despawned correctly.
Declaration
[UnityTest]
public IEnumerator TestRigidbodyKinematicEnableDisable()
Returns
Type | Description |
---|---|
IEnumerator |