Hi Aren,
I have 1 camera that renders the UI to a texture. This texture is then part of the environment, e.g an interactive wall. The main game camera needs to be able to interact with the UI through the texture. The actual UI is at the centre of the world and is very small. How can I forward these events to the UI?
Adding a UICamera to my Camera does not work as the items I am clicking on are in a texture, not the actual UI widgets.
Thanks
Karl
Edit:
Is this something I could do in the Raycast function that is part of UICamera?
Edit:
Ok I think I have a solution.
I created a new 3d UI. I disabled the UIRoot object and moved the UI so it was on my wall and the correct scale. I disabled the UI camera and added a UICamera to my world camera. The UI is now drawn in the world like a standard part of scenery and can be interacted with. Is this the correct way to do things?
Thanks
Karl