-
-
Save todorok1/f957687a169031fa47caeaa0e35f571b to your computer and use it in GitHub Desktop.
ループの外で作成したWaitForSecondsのオブジェクトを使います。
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
// ループの外で作成したWaitForSecondsのオブジェクトを使います。 | |
var wait = new WaitForSeconds(1.0f); | |
for (int i = 0 ; i < 1000 ; i++) | |
{ | |
yield return wait; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment