- Home /
Question by
unussystems · Jul 25, 2019 at 01:30 AM ·
uiscript.canvaszoom-in
zooming UI canvas
Is it possible to zoom in or out UI Canvas including all elements in the Canvas?
zooming in or out Canvas should be like Scale of game view in the editor. When I zoom in, it will effect all UI elements in the Canvas.
dddd.jpg
(74.7 kB)
Comment
Answer by YasinJavaid_ · Jul 25, 2019 at 09:35 AM
Create Panel and set its anchor to stretch By stretch and put all you UI elements on it. then manage your zoom in and zoom out with panel scale. hope this works for you.
Answer by Casiell · Jul 25, 2019 at 06:50 AM
You could change the scale of your canvas game object.
Scale factor of Canvas is available when UI Scale $$anonymous$$ode: Constant Pixel Size. but my UI Scale $$anonymous$$ode is Scale With Screen Size. So there is not "Scale Factor" in the Canvas Editor.