Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity destroy gameobject with delay

[SerializeField] GameObject MyGreatObject;
//Choose MyGreatObject in the inspector
Destroy (MyGreatObject, 5);
 
PREVIOUS NEXT
Tagged: #unity #destroy #gameobject #delay
ADD COMMENT
Topic
Name
6+1 =