field of view axis
Hi,
Is there a way to change cameras field of view axis with c#?
I've tried something like this:
Camera.FieldOfViewAxis = "horizontal";
Camera.FieldOfViewAxis.Horizontal = 1;
Camera.main.FieldOfViewAxis = "horizontal";
Camera.main.FieldOfViewAxis.Horizontal = 1;
But with no success, any ideas how to approach/solve this thing?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613021333im_/https://answers.unity.com/themes/thub/images/avi.jpg)