Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: xiaoniaojjj on October 21, 2012, 08:18:11 AM
-
I can adjust the depth of panel by panel.Z value. But the problem is , the panel looks will be zoom(scale) when the z value is more bigger like -100, have any better way to adjust the depth of Panel. and not scale it? For example, i creat a Panel be used for like Alert info Window.this Panel should be top of all the Panel. Could you give panel depth value?
-
It will only zoom if you're using a perspective camera. Orthographic camera (2D UI) = no zooming.
-
But when i use 2D UI, It seems can't zoom automatic to fit the screen.
-
I'm not sure what you mean, or what it has to do with 3D vs 2D UIs.
-
Thanks reply, if i use the UIRoot 2D,when i run the apk(android) on different size screen. it can't zoom by automatic to fit the Screen size. But UIRoot 3D is ok..
Or do you have better way to let the UI fit the different size screen?
-
2D root scales itself based on the resolution, 3D root does not.
-
I try to use 2D before, i design the UI base on 1024*768, when i run the 800*480 or 480*320 , the UI would out of the border of Screen, What i need do ??
-
Make your UI modular -- parts attached to the bottom of the screen, parts to the center, parts to the right side of the screen, etc.