I have a 3d game scene which I am trying to size for mobile. I want to write code which automatically sets the camera position to give me the full scene. What are the parameters I need to adjust? Should I attempt to set the FOV or the position and rotation of the Camera? Are there any scripts that already exist for this or are there assets in the Unity store that I can use?
Thanks,
Syed
I found a lot of posts but most of them relate to the UI and not to the 3d objects within the game. Does this happen automatically for 3d objects. If not, is there some tutorials/scripts that I could refer to. Also, nearly all of them are referring to Ortho projections, not perspective. Am I missing something?
What is the way in which professional Unity developers handle this? Do they have a different scene for different aspect ratios and load it dynamically? Is that the best way to handle this scenario?
Thanks,
Syed