unity check for internet connection
//REACHABLE VIA LOCAL NETWORK OR CARRIER DATA
if (Application.internetReachability != NetworkReachability.NotReachable)
{
Debug.LogWarning("Connected to WiFi or Carrier network");
}
unity check for internet connection
//REACHABLE VIA LOCAL NETWORK OR CARRIER DATA
if (Application.internetReachability != NetworkReachability.NotReachable)
{
Debug.LogWarning("Connected to WiFi or Carrier network");
}
unity test network connection
if (Application.internetReachability == 0) //Not reachable at all
{
Debug.LogWarning("No internet connection");
}
if (Application.internetReachability == 1) //Reachable via Carrier data network
{
Debug.LogWarning("Connected to mobile carrier");
}
if (Application.internetReachability == 3) //Reachable via WiFi
{
Debug.LogWarning("Connected to WiFi");
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us