Gamebase SDK for Unity 2.69.0
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));
}
static bool IsConnected()
Indicates whether network connectivity exists and it is possible to establish connections and pass da...
Definition Gamebase.cs:3092
The Network class indicates Network status.
Definition Gamebase.cs:3031
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11