Trigger reset?

I’m not quite sure if reset is the right name for it, but I’m trying to set a Trigger that will allows the player to enter and change the camera back and fort multiple times.

To example better, I have the player being able to hit a trigger that will change there camera from 1st to 3rd person. Know I’ve gotten that part of the coding to work with no problem, however I can’t figure out quite how to set the trigger so that player can walk back through it changing the camera back to 1st person.

If anyone can give me help or even tips that would be great. Thanks.

You can use the method OnTriggerEnter(Collider c) to detect the player entering a collider, and
OnTriggerExit(Collider c) to detect that the player has left that collider.