- Home /
Question by
LeleUnity · Dec 23, 2017 at 11:12 PM ·
resolutionscalescreenperspective cameraratio
AutoScale Screen with Perspective Camera
Hello, I am trying to write a simple script that simply automatically adjust the camera to fit the game screen with a PERSPECTIVE CAMERA VIEW. Like it is done with this plugin https://www.assetstore.unity3d.com/en/#!/content/57439
Maybe this is something done adjusting the transform.position.z or the FOV parameter based on the screen size (or ratio)...
Could you please help me? Thank you
Comment
Your answer
Follow this Question
Related Questions
How to retain absolute gameobject size in pixels no matter the resolution? 2 Answers
How to scale everything with screen size? 4 Answers
GUI adapting to screen resolution? 3 Answers
GUI and Screen Resolution 1 Answer
Unity 5 UI Fill Any Screen 2 Answers