Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosehostId | Host id. |
address | Peer ip. |
port | Peer port. |
exeptionConnectionId | Special connection id or 0 for default. |
error | Returned error. |
conf | Simulation configuration definec latency for this connection. |
int ConnectionId on success (otherwise zero).
Connect with simulated latency.
Will establish connection between peers and configure it to simulate internet latency (works on editor and development build only).