Quantcast
Channel: Answers for "destroy object after a delay?"
Viewing all articles
Browse latest Browse all 12

Answer by wrobel221

$
0
0
You can just set time delay in Destroy method Object.Destroy(gameObject, 2.0f); Here's the [method description][1] static void Destroy(Object obj, float t = 0.0F); [1]: http://docs.unity3d.com/Documentation/ScriptReference/Object.Destroy.html

Viewing all articles
Browse latest Browse all 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>