I am new unity and working on a ui project
I want to add a camera targeted on a gameObject in canvas
there is a camera with the same hierarchy of canvas and when I clicked it the preview is blank but I play the project everything is shown all the buttons texts images
how the cameras working with ui and is it possible to add a camera targeted on a gameObject?
Hi @eomerb
What do you want to do exactly?
You can’t aim camera towards any UI element, unless you use World Space Canvas.
Modes Screen Space - Overlay and Screen Space - Camera both work pretty much like the UI was glued to the lens of UI camera.
BTW - this sounds like s UI question, you could have asked it on UI forum.