I’m trying to make that when i see object it does something. Currently its doing it when
im facing the direction the object is in.
function OnWillRenderObject() {
if(renderer.isVisible){
Debug.Log("Hit");
}
}
It does the script even when im looking it through a wall…