Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active December 2, 2018 15:50
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 baobao/92b728cc3e3e90a368f1d6458b04c7f9 to your computer and use it in GitHub Desktop.
Save baobao/92b728cc3e3e90a368f1d6458b04c7f9 to your computer and use it in GitHub Desktop.
IEnumerator Start () {
Debug.Log("Start 1");
// 1フレーム待機する
yield return null;
Debug.Log("Start 2");
}
int count = 1;
void Update ()
{
Debug.Log("Update " + count++);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment