1
NGUI 3 Support / Re: Real screen size to NGUI virtual screen size
« on: November 14, 2016, 07:05:04 PM »
The only one solution I found is to add a new NGUI root, but with ortographic projection. Then I attached the cursor on this root, and now I can set the Input.mousePosition as it is. The 2D root has its own layer, else NGUI makes strange things
The 2D root UI camera just shows the 2D UI layer (Camera culling mask is UI2D not the default UI).
I hope the performance for the additionally added camera is nearly nothing, because it just shows up the own layer.
The 2D root UI camera just shows the 2D UI layer (Camera culling mask is UI2D not the default UI).I hope the performance for the additionally added camera is nearly nothing, because it just shows up the own layer.
