Skip to content

Instantly share code, notes, and snippets.

@anchan828
Created March 8, 2012 07:52
Show Gist options
  • Save anchan828/1999489 to your computer and use it in GitHub Desktop.
Save anchan828/1999489 to your computer and use it in GitHub Desktop.
private static WWW www;
static UpdateCheck ()
{
www = new WWW ("URL");
EditorApplication.update += _Update;
}
private static void _Update ()
{
if (www.isDone) {
Debug.Log (www.text);
EditorApplication.update -= _Update;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment