gpt4 book ai didi

Android Unity vuforia 游戏分辨率太短

转载 作者:行者123 更新时间:2023-11-29 23:19:10 26 4
gpt4 key购买 nike

谁能告诉我为什么 android 应用程序中的 UI 元素与 unity 编辑器中的相比太少了?

不得不提一下,当我在 pc 上的编辑器中启动游戏时看起来还不错。

请查看屏幕上的差异。也许有一些设置IDK。我是 Unity/Android 游戏的初学者。

  1. android phone图像。 enter image description here
  2. unity editor图像。 enter image description here

最佳答案

Can anyone please advise why the UI elements in the android application are too little comparing to the ones in the unity editor?

那是因为它们有不同的分辨率和纵横比。

enter image description here

选择不同的值来测试您的游戏在不同宽高比下的显示效果。默认设置为自由纵横比。

要了解 ui 如何在 unity 中缩放,请阅读 this手册。

关于Android Unity vuforia 游戏分辨率太短,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54736944/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com