如何将我的 Android 手机连接到 unity 以进行测试游戏?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11288825/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 06:45:29  来源:igfitidea点击:

How can i link up my Android phone to unity for Testing Games?

androidunity3d

提问by Youddh

i just started learning unity and i am stuck at linking my Android Phone to unity to test run. Is it possible to test games on android phone from unity? i try with emulator but couldn't work it properly Emulator's Screen goes blue, it did show welcome screen of unity.

我刚开始学习 unity,我一直坚持将我的 Android 手机连接到 unity 进行测试运行。是否可以在 android 手机上从 unity 测试游戏?我尝试使用模拟器,但无法正常工作 模拟器的屏幕变为蓝色,它确实显示了统一的欢迎屏幕。

My device is xperia arc Android 4.0.4 is their any synchronization software for unity and android?

我的设备是 xperia arc Android 4.0.4 是他们的任何用于统一和 android 的同步软件吗?

回答by cregox

There are two things you can do.

你可以做两件事。

One, as already pointed by Jerdak, is installing your android device driversand the android SDK. There's no better steps to take here than what already pointed in the docs, and I see no reason to replicate the steps here.

一个,正如 Jerdak 已经指出的,是安装你的 android 设备驱动程序和 android SDK。没有比文档中已经指出的更好的步骤,我认为没有理由在这里复制这些步骤。

The second thing is using the "magical" Unity Remote. It's far from ideal for testing games, but it may be useful for some testing and it is a lot faster and simpler to run. You just need to install it on the device, have it on the same wifi as your running Unity Editor and hit play.

第二件事是使用“神奇”的Unity Remote。它远非测试游戏的理想选择,但它可能对某些测试有用,而且运行起来更快更简单。你只需要在设备上安装它,让它与你正在运行的 Unity 编辑器连接到同一个 wifi 上,然后点击播放。

回答by Gurpreet Singh

Unity remote is replaced by unity remote 4. Kindly proceed it with unity remote 4.Make sure only 1 sdk platform is installed on your system.

Unity remote 被 unity remote 4 取代。请继续使用 unity remote 4。确保您的系统上只安装了 1 个 sdk 平台。