Class NetworkObjectReferenceTests
Unit tests to test:
- Serializing NetworkObject to NetworkObjectReference
- Deserializing NetworkObjectReference to NetworkObject
- Implicit operators of NetworkObjectReference
Implements
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetworkObjectReferenceTests : IDisposable
Constructors
Name | Description |
---|---|
NetworkObjectReferenceTests() |
Methods
Name | Description |
---|---|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
FailSerializeGameObjectWithoutNetworkObject() | |
FailSerializeNonSpawnedNetworkObject() | |
FailSerializeNullGameObject() | |
FailSerializeNullNetworkObject() | |
TestDespawn() | |
TestImplicitConversionToGameObject() | |
TestImplicitToGameObjectIsNullWhenNotFound() | |
TestNetworkVariable() | |
TestRpc() | |
TestRpcImplicitGameObject() | |
TestRpcImplicitNetworkObject() | |
TestSerializeGameObject() | |
TestSerializeNetworkObject() | |
TestTryGet() |