Starts os activity indicator.
IEnumerator Load() { #if UNITY_IPHONE Handheld.SetActivityIndicatorStyle(iOSActivityIndicatorStyle.Gray); #elif UNITY_ANDROID Handheld.SetActivityIndicatorStyle(AndroidActivityIndicatorStyle.Small); #endif Handheld.StartActivityIndicator(); yield return new WaitForSeconds(0); Application.LoadLevel(1); } void OnGUI() { if( GUI.Button(new Rect(10, 10, 200, 200), "Load!") ) StartCoroutine(Load()); }