void Start() { Debug.Log("Hit spacebar to change the scene."); _asyncCoroutineHelper = gameObject.AddComponent <AsyncCoroutineHelper>(); Uri uri = new Uri(Url); var directoryPath = URIHelper.AbsoluteUriPath(uri); _loader = new WebRequestLoader(directoryPath); _fileName = URIHelper.GetFileFromUri(uri); LoadScene(SceneIndex); }
void Start() { Debug.Log("Hit spacebar to change the scene."); Uri uri = new Uri(Url); var directoryPath = URIHelper.AbsoluteUriPath(uri); _loader = new WebRequestLoader(directoryPath); _fileName = URIHelper.GetFileFromUri(uri); StartCoroutine(LoadScene(SceneIndex)); }