L
L
Le_Olivie2021-03-30 11:17:31
C++ / C#
Le_Olivie, 2021-03-30 11:17:31

unity. How to set constant camera resolution?

In general, there is such a problem: if the aspect ratio (or resolution, xs, how to call it correctly) changes, then the camera starts showing what it should not, how can you make it so that in the second screenshot you can’t see the level that is below ?
(Ignore buttons that don't fit a little)
Screenshot 1:
6062dd622ec9e345881448.png
Screenshot 2:
6062dd6a64c30330861395.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-03-30
@freeExec

https://docs.unity3d.com/Manual/FrustumSizeAtDista...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question