Lets Build Community

Lets Build is a community of 163 amazing members

We're a place where indie game developers to connect with one another to share ideas, ask for help and teach each other.

Create new account Log in
loading...

How to make RTS Cinemachine Camera with Pan and Zoom in Unity πŸŽ₯

samyam_utube profile image samyam ・1 min read

Happy Thanksgiving!

Source Code

Discussion

pic
Editor guide
Collapse
cpluta profile image
Chris Pluta

Would it be better practice to have the zoom be a serializable field so you can modify it easier vs using the processor on the input?

Collapse
samyam_utube profile image
samyam Author

Yes you can clamp it from 0 to 1 in the input action and times by a speed multiplier (serialized) in the code to make it easier to adjust