- Home /
Question by
BreyTheKid · Jan 23, 2021 at 09:25 PM ·
c#camera3rd person camera
Modifying Cinemachine values during runtime
I am making a game with a 3rd person camera. I am using a Cinemachine Freelook camera for camera logic. I am wondering if there is any way to change the values in the Freelook component (namely the camera speed for changing camera sensitivity in an options menu) through scripting during runtime? Also, I could not access any components through variables, if that helps. Any help would be appreciated.
Comment
Answer by VoidPhoenix96 · Jan 24, 2021 at 03:04 AM
I’m not sure, but if you reference the cinamachine camera you might be able to get values without components. If you want to see the scripting names of the value, turn on debug mode in the inspector with the camera selected.