Back To Index

TrackConnectionStatus

Jump To Parameters
Jump To Function Definitions


Parameter Definitions

Select the parameter name from below to jump directly to it on this page.

OnConnectedToLobby
OnConnectedToRoom
texts


OnConnectedToLobby

UnityEvent. Called when you successfully connect to the Photon Lobby.

Exposed Value Type Default Value
protected UnityEvent new UnityEvent()

Back To Top


OnConnectedToRoom

UnityEvent. Called when you successfully connect to a photon room.

Exposed Value Type Default Value
protected UnityEvent new UnityEvent()

Back To Top


texts

The Text objects to set their string values to be whatever “
the current connection status is of the NetworkManager.

Exposed Value Type Default Value
protected Text[] new Text[] { }

Back To Top

Function Definitions

Select the function name from below to jump directly to it on this page.

OnEnable
SetText
Update


protected virtual void OnEnable()

Resets the lobby/room unity event fired status’

Expose Value Overrideable Returns
protected True Does not return anything

No parameters

Back To Top


protected virtual void SetText(string inputText)

Set the string value of all the texts according to whatever the input value is.

Expose Value Overrideable Returns
protected True Does not return anything
Parameter Name Description
inputText string type, the connection status to set.

Back To Top


protected virtual void Update()

Will set the texts values to be whatever the NetworkManager connection status is dynamically. Will also only fire the OnConnectedToLobby and OnConnectedToRoom once based on their fired status’.

Expose Value Overrideable Returns
protected True Does not return anything

No parameters

Back To Top