DropDown GUI(分辨率)问题Unity 3D [英] DropDown GUI (resolution) issue Unity 3D

查看:273
本文介绍了DropDown GUI(分辨率)问题Unity 3D的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这只是Unity中的一个奇怪的事情... 99.9%的您使用该设置的时间。



在当前版本的Unity中, Unity拧紧并设置默认错误



只有在非常模糊的情况下,您会使用其他设置:这是一个巨大的混乱来源,Unity的默认设置为错误的设置。



你可能有另一个问题,但一定要这样做。


http://imgur.com/UNR6nNS

Check the link for details.

When I'm running my app (that contains the DropDown feature) on my Android Phone, the dropdowns that apears from DropDown menu is really small, even tiny. I tried to set resizeTextForBestFit and resizeTextMinSize/maxSize + change Rect.height of ViewPort (where the dropdowns placed) but it doesn't work. The Scroll Rect on Dropdown List controlling the size. So how can I fix this issue?

解决方案

Always choose

"Screen Space - Overlay"

and

"Scale with screen size"

It's just one of those weird things about Unity ... 99.9% of the time you use that setting.

In the current version of Unity, Unity screwed-up and set the default wrong.

Only in extremely obscure situations would you use the other settings: it's a huge source of confusion that Unity have the defaults as the wrong settings.

You could have another problem but be sure to do that.

这篇关于DropDown GUI(分辨率)问题Unity 3D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆