C# Class PhotonStatsGui, source

This MonoBehaviour is a basic GUI for the Photon client's statistics features. The shown health values can help identify problems with connection losses or performance. Example: If the time delta between two consecutive SendOutgoingCommands calls is a second or more, chances rise for a disconnect being caused by this (because acknowledgements to the server need to be sent in due time).
Inheritance: MonoBehaviour
Show file Open project: unityosgt/source Class Usage Examples

Public Properties

Property Type Description
WidthWithText float
buttonsOn bool
healthStatsOn bool
statsOn bool
statsRect Rect
statsWindowOn bool
trafficStatsOn bool

Public Methods

Method Description
OnGUI ( ) : void
Start ( ) : void
TrafficStatsWindow ( int windowID ) : void
Update ( ) : void

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

TrafficStatsWindow() public method

public TrafficStatsWindow ( int windowID ) : void
windowID int
return void

Update() public method

public Update ( ) : void
return void

Property Details

WidthWithText public property

public float WidthWithText
return float

buttonsOn public property

public bool buttonsOn
return bool

healthStatsOn public property

public bool healthStatsOn
return bool

statsOn public property

public bool statsOn
return bool

statsRect public property

public Rect statsRect
return Rect

statsWindowOn public property

public bool statsWindowOn
return bool

trafficStatsOn public property

public bool trafficStatsOn
return bool