Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: cmwcmw on October 22, 2014, 03:34:55 AM
-
I am using the UIWidget to set my UI size to "full screen" with the anchor settings.
As you can see from the picture I set the four margins to be zero but however i see nothing in the Game View because the size on the UIWidget is 2*3172.
But when I play the scene, the size is fine, UI is there.
Anyone know how to fix this? It is troublesome that I cant preview the UI :(
Thanks
[Solved] There should be only 1 camera to draw the NGUI layer
-
I think you should set scaling type of your UIRoot as Constrained and mark Fit for Content Width and Content Height.
-
I finally found the reason.
I didn't mask out the NGUI layer in my Main Camera. I should have only the UICam to draw the UI.
Thanks anyway ;)