Skip to content

Instantly share code, notes, and snippets.

@noio
Created March 26, 2015 13:47
Show Gist options
  • Save noio/ba529bfcf9de4b3a0c56 to your computer and use it in GitHub Desktop.
Save noio/ba529bfcf9de4b3a0c56 to your computer and use it in GitHub Desktop.
IEnumerator Shoot() {
while (true)
{
Debug.Log("Shoot!");
yield return new WaitForSeconds(1.0f);
}
}
void WalkAwayMan() {
Debug.Log("Walking Away");
}
///
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment