The graphs I showed you are in the Character as it was faster for me to do it and screenshot it all in one place.
You can spread the code however it seems logical for you - half in the Character and half in the box - no problem. Better yet you can set most of it in the controller. The controller has a camera manager object which would be most appropriate place but I’m lazy. (also the logic is pretty much the same)
In the character we make it similar with very few changes:
In the camera box we just call the events on the character:

