Unity has two inbuild Function called OnBecaseVisible and OnBecameInvisible that can be used to detect if an object is visible on the camera or not. There are few things that you need to know before using these functions. With all these in mind let’s see how to use these functions. Here is a simple example ... Read more