Class NetworkObjectReferenceTests
Unit tests to test:
- Serializing NetworkObject to NetworkObjectReference
- Deserializing NetworkObjectReference to NetworkObject
- Implicit operators of NetworkObjectReference
Inheritance
NetworkObjectReferenceTests
Syntax
public class NetworkObjectReferenceTests : IDisposable
Constructors
NetworkObjectReferenceTests()
Declaration
public NetworkObjectReferenceTests()
Methods
Dispose()
Declaration
Implements
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
public IEnumerator TestRpc()
Returns
TestRpcImplicitGameObject()
Declaration
public IEnumerator TestRpcImplicitGameObject()
Returns
TestRpcImplicitNetworkObject()
Declaration
public IEnumerator TestRpcImplicitNetworkObject()
Returns
TestSerializeGameObject()
Declaration
public void TestSerializeGameObject()
TestSerializeNetworkObject()
Declaration
public void TestSerializeNetworkObject()
TestTryGet()
Declaration