// Start is called before the first frame update void Start() { mLblTitle.text = "Loading data from Web Api"; //Getting data from URL via Worker thread NetworkHandler.GetData(WEBSERVICEURL, OnGetData); //Getting image from URL via UnityWebRequest if (Random.Range(0, 100) < 50) { NetworkHandler.GetImage(IMAGEURL1, OnGetImage); } else { NetworkHandler.GetImage(IMAGEURL2, OnGetImage); } }