Created
March 8, 2012 07:52
-
-
Save anchan828/1999489 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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