- Home /
 
               Question by 
               Pat_Max · Jan 22, 2020 at 03:17 PM · 
                cameravisibilityfrustumonbecameinvisibleonbecamevisible  
              
 
              How do I trigger the visibility of an object through OnBecame(In)visible?
I tried to use OnBecameInvisible() to disable the MeshRenderer of the object and enable it through OnBecameVisible(). But the problem is that when it becomes invisible(MeshRenderer turned off), it can't be recognized as visible anymore!
So, are there any better solutions to disable the visibility of an object out of the camera's frustum? Or are there any ways to solve the problem I've mentioned?
Thanks!!
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                