Answers for "check if object out of screen unity"

1

how to detect when a gameobject leaves the screen

void OnBecameInvisible() {         Destroy(gameObject);     }
Posted by: Guest on March-02-2020

Code answers related to "check if object out of screen unity"

Browse Popular Code Answers by Language