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

查看:32
本文介绍了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天全站免登陆