Class MockNetworkManager
A mock network manager containing the mock client ID of the local instance and parameters of the underlying mock network solution (like how many bytes must be sent or received to update an object's position)
Inherited Members
Namespace: Unity.Multiplayer.Tools.Adapters.MockNgo
Assembly: solution.dll
Syntax
[AddComponentMenu("MP Tools Dev/MockNetworkManager", 1000)]
public class MockNetworkManager : MonoBehaviour
Remarks
There should be only one of these.
Properties
Name | Description |
---|---|
Despawn |
The number of bytes of network traffic incurred when an object is despawned. |
Local |
The client ID of the local instance |
Ownership |
The number of bytes of network traffic incurred when an object's owner is changed |
Position |
The number of bytes of network traffic incurred when an object's position changes. |
Rotation |
The number of bytes of network traffic incurred when an object's rotation changes. |
Scale |
|
Spawn |
The number of bytes of network traffic incurred when an object is spawned. |