I am using a trigger object to check if ANY object in the map gets in between the camera and the player.
So I have a trigger ENTER that sets up the player with an outline shader, and a trigger EXIT that removes the outline shader.
So far so good... but!
If the trigger gets activated by more than one object, like in example 3, and then it exits by any of these objects, the trigger EXIT is fired, but in fact the trigger object is still active, and the camera still can't see the player!
I couldn't come up with a solution in this case.
I tried to use trigger STAY but with little success.
P.S.: I know that a raycast would be better blabla but I'm lazy ok?
