Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created July 8, 2020 08:44
Show Gist options
  • Save todorok1/259cba036a37cc4cd1aa866ab11f4741 to your computer and use it in GitHub Desktop.
Save todorok1/259cba036a37cc4cd1aa866ab11f4741 to your computer and use it in GitHub Desktop.
コルーチンの待ち時間の書き方
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