Gamebase SDK for Unity 2.75.1 Toast Gamebase Platform

Loading...
Searching...
No Matches

## ◆ IsConnected() [1/2]

static bool IsConnected | ( |  | ) |
| static

Indicates whether network connectivity exists and it is possible to establish connections and pass data.

(Platforms other than WebGL)

Since
  Added 1.4.0.

Returns
  "true" if network connectivity exists, "false" otherwise.

Example Usage :

public void IsConnectedSample()
{
bool isConnected = Gamebase.Network.IsConnected();
Debug.Log(string.Format("isConnected:{0}", isConnected));
}
Toast.Gamebase.Gamebase.Network.IsConnected
static bool IsConnected()
Indicates whether network connectivity exists and it is possible to establish connections and pass da...
Definition: Gamebase.cs:3142
Toast.Gamebase.Gamebase.Network
The Network class indicates Network status.
Definition: Gamebase.cs:3081
Toast.Gamebase.Gamebase
The Gamebase class is core of Gamebase service.
Definition: Gamebase.cs:11