- Home /
Question by
Luana Favetta · Mar 27, 2014 at 04:39 PM ·
camerasizeorthographiccontentfit
Change camera ortographic size to fit the content
Hi,
I have an orthographic camera and I need to change automatically the size of it accordingly with the content, because this content is dynamically generated and sometimes the content don't fit the view.
someone can help me? how I can change the size of camera automatically?
Is there a document where I can look?
thanks!
Comment
Answer by Graham-Dunnett · Mar 27, 2014 at 04:40 PM
Yes, there are many documents where you can look:
http://docs.unity3d.com/Documentation/ScriptReference/Camera-orthographicSize.html