How To Destroy Object When It Is Out Of Screen In Unity 3D

Today, I would like to share with you how to destroy game object when it is out of screen or no longer visible in Unity 3D. The answer is pretty simple! Just use Renderer.OnBecameInvisible(), this method will be called whenever the game object is visible by any camera. However, there are few potential mistakes that may …

How To Destroy Object When It Is Out Of Screen In Unity 3D Read More »

Exit mobile version
%%footer%%