DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
unity destroy object when out of screen
//INSIDE ON YOUR OBJECT'S SCRIPT void OnBecameInvisible() { Destroy (this.gameObject); }
PREVIOUS
NEXT
Tagged:
#unity
#destroy
#object
#screen
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit