This MonoBehaviour is a basic GUI for the Photon client's network-simulation feature. It can modify lag (fixed delay), jitter (random lag) and packet loss.
More...
Inherits MonoBehaviour.
|
| Rect | WindowRect = new Rect(0, 100, 120, 100) |
| | Positioning rect for window. More...
|
| |
| int | WindowId = 101 |
| | Unity GUI Window ID (must be unique or will cause issues). More...
|
| |
| bool | Visible = true |
| | Shows or hides GUI (does not affect settings). More...
|
| |
|
| PhotonPeer | Peer [get, set] |
| | The peer currently in use (to set the network simulation). More...
|
| |
This MonoBehaviour is a basic GUI for the Photon client's network-simulation feature. It can modify lag (fixed delay), jitter (random lag) and packet loss.
◆ OnGUI()
| void PhotonLagSimulationGui.OnGUI |
( |
| ) |
|
◆ Start()
| void PhotonLagSimulationGui.Start |
( |
| ) |
|
◆ Visible
| bool PhotonLagSimulationGui.Visible = true |
Shows or hides GUI (does not affect settings).
◆ WindowId
| int PhotonLagSimulationGui.WindowId = 101 |
Unity GUI Window ID (must be unique or will cause issues).
◆ WindowRect
| Rect PhotonLagSimulationGui.WindowRect = new Rect(0, 100, 120, 100) |
Positioning rect for window.
◆ Peer
| PhotonPeer PhotonLagSimulationGui.Peer |
|
getset |
The peer currently in use (to set the network simulation).