简体   繁体   English

如何在UNITY3D中使用NGUI在菜单中全局修复分辨率?

[英]How to Fix Resolutions Globally in Menu by Using NGUI in UNITY3D?

I need a menu screen. 我需要一个菜单​​屏幕。 The menu screen contains Buttons , Background , sliced Sprite . 菜单屏幕包含ButtonsBackgroundSprite Sprite

I have done this, but I face one problem: when I change the resolution of menu screen, it changes the background. 我已经做到了,但是我面临一个问题:更改菜单屏幕的分辨率时,它会更改背景。

Initially I was using a resolution of 800 X 480 . 最初,我使用800 X 480的分辨率。 I have changed this to 600 X 1024 , but the Buttons and Background have changed but are not set globally. 我将其更改为600 X 1024 ,但是“ 按钮”和“ 背景”已更改,但未全局设置。 How can I fix my resolution problems by using ngui in UNITY3D ? 如何在UNITY3D中使用ngui解决我的分辨率问题?

There are a few good discussions about this: You can start here: 关于此有一些很好的讨论:您可以从这里开始:

http://www.tasharen.com/forum/index.php?topic=1398.0 http://www.tasharen.com/forum/index.php?topic=1398.0

also, check out the UiAnchor example by NGUI: http://www.tasharen.com/?page_id=619 另外,请查看NGUI的UiAnchor示例: http ://www.tasharen.com/?page_id = 619

There are a few more discussions you can easily find 您可以轻松找到更多讨论

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM