Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to destroy a gameobject in c#

Destroy(gameObject); // destroys the game object attached to the script
 
PREVIOUS NEXT
Tagged: #destroy #gameobject
ADD COMMENT
Topic
Name
9+1 =