Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: chansey on December 22, 2012, 09:52:07 AM
-
I found that if there are multiple panels in the scene, the second panel's widget could not be shown in unity "Scene" window. (But in "Game" window, it works fine.....)
I have used "align with view to selected" with camera, but the problem still exists. If I move view in the "Scene" window, occasionally it could be shown...... :-\
(Example 7 could reproduce this problem)
I haven't been able to find a similar problem in google and forum.
I use Unity 3.5.6f4 and NGUI 2.2.6 and I have snapshot a image for this problem.
Thanks for the help!
-
This has something to do with the angle of the scene view. Remember that since your drawcalls are relatively close together, if you're not on the exact right angle, the one that's "closest" to the camera will be drawn on top.
Essentially, you can't count on the scene view.
-
Thanks for replying quickly.
For example 7:
I found if I set the UIPanel (Clipped View) transform Z to -100 (PS: -1, -10 has no effect), the widgets in this panel will shows fine.
(But they are too big in "Scene" window, since scene view camera is perspective)
If widgets on "Scene" window could not be shown or size is wrong... how to position the widgets exactly and visually ?
(I hope NGUI very like photoshop)
-
Your camera is in perspective mode. Note that your camera gizmo in the top right corner doesn't display "Back" keyword underneath?
Click the green triangle, then click the left grey triangle.
-
After adjust these triangle in camera gimoz, It's work fine!!
Thank you very much! :)