Hey! First time making a game and I’m struggling with assigning some cameras.
Is it possible to assign a virtual camera at runtime by name? When the player joins the arena, it creates them, a follow camera, and a zoom camera. Both the ZoomCamera and the FollowCamera instantiate into the scene before the player’s prefab so it should be able to find them right?

It’s an online multiplayer game and I activate and deactivate the specific camera when the aim button is pressed. I get the behavior I want when I pause, and drag and drop the aim cam into the serialized field I made to test this with.
Before (not working):

After (Working):

At runtime, how do I find a Virtual camera in the scene and then assign it to be the CinemachineVirtualCamera that field looks for?
Thanks!

