Created
July 8, 2020 08:44
-
-
Save todorok1/259cba036a37cc4cd1aa866ab11f4741 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
IEnumerator WaitSample() | |
{ | |
// 1.0秒処理を待ちます。 | |
yield return new WaitForSeconds(1.0f); | |
// 待ち時間が終わった後に後続の処理が行われます。 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment