- Home /
Question by
Fallouturama · Jul 07, 2016 at 07:22 AM ·
androidcameracanvasviewport
How to match a WorldSpace Canvas to Camera's viewport?
I have this scene where CameraA is parent of a Canvas, what I need is to dinamically expand Canvas to match CameraA's viewport, BUT Canvas must be configured in WorldSpace because the user has to be able to watch this relation sometimes throught CameraB (and sometimes throught CameraA).
CameraA object is going to move and rotate in the scene.
Platform is Android/mobile (Screen orientation can change)
Scene:
I'm new to Unity & C#, any help will be usefull! Thanks!
cameracanvas.jpg
(91.5 kB)
Comment