This class is used to dispatch web requests using the WWW API and to call user callbacks on the main thread.
Inheritance: UnityEngine.MonoBehaviour
Example #1
0
        private void HandleConnectivityRefresh(object sender, UnityMainThreadDispatcher.NetworkStatusRefreshed result)
        {
            if (!waitingForConnectivity)
            {
                return;
            }

            if (result.NetworkReachability != NetworkReachability.NotReachable)
            {
                Synchronize();
            }
        }