Class NetworkBehaviourReferenceTests
Unit tests to test:
- Serializing NetworkObject to NetworkObjectReference
- Deserializing NetworkObjectReference to NetworkObject
- Implicit operators of NetworkObjectReference
Inheritance
NetworkBehaviourReferenceTests
Syntax
public class NetworkBehaviourReferenceTests : IDisposable
Constructors
NetworkBehaviourReferenceTests()
Declaration
public NetworkBehaviourReferenceTests()
Methods
Dispose()
Declaration
FailSerializeGameObjectWithoutNetworkObject()
Declaration
public void FailSerializeGameObjectWithoutNetworkObject()
FailSerializeNonSpawnedNetworkObject()
Declaration
public void FailSerializeNonSpawnedNetworkObject()
FailSerializeNullBehaviour()
Declaration
public void FailSerializeNullBehaviour()
TestNetworkVariable()
Declaration
public void TestNetworkVariable()
TestRpc()
Declaration
public IEnumerator TestRpc()
Returns
TestRpcImplicitNetworkBehaviour()
Declaration
public IEnumerator TestRpcImplicitNetworkBehaviour()
Returns