Class NetworkObjectReferenceTests
Unit tests to test:
- Serializing NetworkObject to NetworkObjectReference
- Deserializing NetworkObjectReference to NetworkObject
- Implicit operators of NetworkObjectReference
Inheritance
NetworkObjectReferenceTests
Assembly: solution.dll
Syntax
public class NetworkObjectReferenceTests : IDisposable
Constructors
NetworkObjectReferenceTests()
Declaration
public NetworkObjectReferenceTests()
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
FailSerializeGameObjectWithoutNetworkObject()
Declaration
public void FailSerializeGameObjectWithoutNetworkObject()
FailSerializeNonSpawnedNetworkObject()
Declaration
public void FailSerializeNonSpawnedNetworkObject()
FailSerializeNullGameObject()
Declaration
public void FailSerializeNullGameObject()
FailSerializeNullNetworkObject()
Declaration
public void FailSerializeNullNetworkObject()
TestDespawn()
Declaration
public void TestDespawn()
TestImplicitConversionToGameObject()
Declaration
public void TestImplicitConversionToGameObject()
TestImplicitToGameObjectIsNullWhenNotFound()
Declaration
public void TestImplicitToGameObjectIsNullWhenNotFound()
TestNetworkVariable()
Declaration
public void TestNetworkVariable()
TestRpc()
Declaration
[UnityTestAttribute]
public IEnumerator TestRpc()
Returns
TestRpcImplicitGameObject()
Declaration
[UnityTestAttribute]
public IEnumerator TestRpcImplicitGameObject()
Returns
TestRpcImplicitNetworkObject()
Declaration
[UnityTestAttribute]
public IEnumerator TestRpcImplicitNetworkObject()
Returns
TestSerializeGameObject()
Declaration
public void TestSerializeGameObject()
TestSerializeNetworkObject()
Declaration
public void TestSerializeNetworkObject()
TestTryGet()
Declaration
Implements