Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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");
}
 
PREVIOUS NEXT
Tagged: #unity #check #internet #connection
ADD COMMENT
Topic
Name
4+9 =