Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created September 3, 2020 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/80be19bde5436dc7b0d4dfdcd32d931f to your computer and use it in GitHub Desktop.
Save todorok1/80be19bde5436dc7b0d4dfdcd32d931f to your computer and use it in GitHub Desktop.
指定秒数後にオブジェクトを削除するサンプル
// 3秒待ってからこのGameObjectを削除します。
Destroy(gameObject, 3.0f);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment