Last active
September 24, 2019 15:54
-
-
Save lindsaygcox/81310b53738961fb9fbb32f379ce19a8 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 WaitForSeconds _delay = new WaitForSeconds(5f); | |
private IEnumerator WaitCo() | |
{ | |
while (!animationFinished) | |
{ | |
yield return delay; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment