- Home /
The most generic way to change ViewPort
I wish to change viewport to show Admob banner. Google will ban if it will overlap anything. So I am looking for simplest and most reliable way to change viewport size.
I can change camera rect property but it applies to one camera and does not change UI's Canvas.
I can't find how to change viewport for UI Canvas.
When I coded in GLES I could set glViewport in one place and it scaled the hole game.
How do I change viewport in Unity?
Comment
Your answer
Follow this Question
Related Questions
Camera Viewport detecting objects behind 0 Answers
How to fit a camera Viewport Rect to a UI Panel 1 Answer
Scroll view/rect broken on Android only 0 Answers
Force UIImage to stay on viewport? 0 Answers
Unity UI Camera.WorldToScreenPoint slow for frame? 0 Answers