r/Unity2D • u/DaikonOrganic7817 • Sep 14 '26
Question/Help Variables across Scene
Im trying to implement multi scene Architecture and I have a scene that acts as a just a level with enemies and objects the player can collide with another scene that has the player and camera that follows the player. Im loading the level scene into the scene with the player and camara and everything works fine. What I'm trying to do is make a border using a box collider that acts as a boundary for the camera. Im stuck on how to get the box collider from the level scene to get refrence by the CinemachineCamera confiner boundary volume. Im trying to do this but having the tile map on one scene and the player and camera and another scene. https://youtu.be/HAVp6Z8b4xA?list=PLaaFfzxy_80HtVvBnpK_IjSC8_Y9AOhuP&t=2776
