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
Mostra 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_oe property

public float WidthWithText
return float

buttonsOn public_oe property

public bool buttonsOn
return bool

healthStatsOn public_oe property

public bool healthStatsOn
return bool

statsOn public_oe property

public bool statsOn
return bool

statsRect public_oe property

public Rect statsRect
return Rect

statsWindowOn public_oe property

public bool statsWindowOn
return bool

trafficStatsOn public_oe property

public bool trafficStatsOn
return bool