NGUI: Forward Clicks To Render To Texture NGUI

Hi,

I have a GUI created using NGUI. I now want to place the GUI into my environment by rendering the GUI to a texture which works fine. However I can no longer interact with the GUI, what is the best way to forward my clicks to the NGUI widgets? Does NGUI have a script for this?

I was thinking of doing something like this:

Fire ray cast into texture plane. Get normalised position. Convert position to NGUI screen position. Fire ray from NGUI screen position. Send the OnClick message to any hit objects with the correct GUI layer.

Is there a simpler way than this?

Thanks

Karl

I solved the problem by placing the NGUI widgets into the 3d environment and using my normal Camera as the UI camera instead of a separate Camera. Works fine.

Karl