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() |
OnConnectedToRoom
UnityEvent. Called when you successfully connect to a photon room.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | UnityEvent | new UnityEvent() |
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[] { } |
Function Definitions
Select the function name from below to jump directly to it on this page.
protected virtual void OnEnable()
Resets the lobby/room unity event fired status’
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
protected virtual void SetText(string inputText)
Set the string value of all the
textsaccording 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. |
protected virtual void Update()
Will set the
textsvalues to be whatever the NetworkManager connection status is dynamically. Will also only fire theOnConnectedToLobbyandOnConnectedToRoomonce based on their fired status’.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters