|
Unity 3d Tutorial - Destroy object seconds after being create
[Back]
Code:Destroy (gameObject, 10);
//Kills the game object in 10 seconds after being create, the 10 seconds can be any time. |
Description:
In this tutorial, I will show you some Basic Scripting,
on how to Destroy object seconds after being create in Unity using java. If you have any questions feel free to ask. |