DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+3 =
Submit