void GoToCase() { print("going to case"); TextMap.NextMap(); ShowHUD.ws.Send("{\"level\": 1}"); Application.LoadLevel("caseLevel1"); // AsyncOperation async = Application.LoadLevelAsync("caseLevel1"); // yield return async; print("level loaded"); }
void GoToCase() { print("going to case"); TextMap.NextMap(); ShowHUD.ws.Send("{\"level\": 1}"); Application.LoadLevel("caseLevel1"); // AsyncOperation async = Application.LoadLevelAsync("caseLevel1"); // yield return async; print("level loaded"); }