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
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()
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