- Home /
Question by
qwert · Aug 23, 2012 at 08:33 PM ·
cameragameobjectfov
GameObject is in and out camera FOV
render.isVisible staying true if a gameObject was "seen" at least once.This means if it is out of FoV it still true. Is there any way to get boolean variable if a gameObject is in or is out field of view dynamically?
Comment
Best Answer
Answer by Muuskii · Aug 23, 2012 at 08:38 PM
You can take a look at OnBecameVisible and OnBecameInvisible. Use these to set a bool to true or false.
Does that resolve your issue?