Skip to content

Instantly share code, notes, and snippets.

@anchan828
Created November 29, 2012 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anchan828/fd53b4efed9e5527591f to your computer and use it in GitHub Desktop.
Save anchan828/fd53b4efed9e5527591f to your computer and use it in GitHub Desktop.
Handheld.StartActivityIndicator Example
using UnityEngine;
using System.Collections;
public class Example : MonoBehaviour
{
IEnumerator Start ()
{
Handheld.SetActivityIndicatorStyle (iOSActivityIndicatorStyle.WhiteLarge);
Handheld.StartActivityIndicator ();
WWW www = new WWW ("http://exmanple.com");
yield return www;
Handheld.StopActivityIndicator ();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment