如何加速iOS / Android移动设备的统一构建和运行过程 [英] How to speed up the build and run process in unity for mobile devices iOS/Android

查看:102
本文介绍了如何加速iOS / Android移动设备的统一构建和运行过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发团结游戏,我需要在iOS中测试这个游戏。对于特殊情况,我需要测试控制器的输入触摸,但这需要很长时间。

Hi I'm developing a game in unity and I need test this game in iOS. For particular case I need test the input touch for controllers but this takes much time.

当我在脚本C#中更改一些代码行时,我必须在统一中重新构建iOS游戏,之后我必须构建并运行Xcode项目以进行测试和运行在我的iPhone上的游戏。

When I change some lines of code in script C#, I must re-build iOS game in unity, after that I must build and run the Xcode project for testing and run the game on my iPhone.

这个过程需要很长时间,所以问题是如果有一些方法可以加速这个过程吗?

This process takes much time, so the question is if there are some ways to accelerate this process ?

推荐答案

Unity Remote 5 旨在实现。它减少了在开发过程中将应用部署到iOS或Android设备的时间。您可以获得iOS版本此处和Android版此处

Unity Remote 5 is designed to do. It reduces the amount of time you deploy your app to your iOS or Android device during development. You can get the iOS version here and the Android version here.

它支持以下传感器:


  • 触摸

  • 加速度计

  • 陀螺仪

  • 网络摄像头

  • 屏幕方向更改事件

  • Touch
  • Accelerometer
  • Gyroscope
  • Webcam
  • Screen orientation change events

最新版本 5.0 增加了对以下内容的支持:

The latest version which is 5.0 added support for the following:

Android


  • 连接到远程设备的游戏手柄

  • 指南针和位置数据(GPS)

iOS


  • 连接到远程设备的MFi游戏手柄(需要Unity 5.4)

  • 3D Touch和Apple Pencil支持

  • Apple TV设备

  • 指南针和位置数据(GPS)

  • MFi gamepads connected to the remote device (requires Unity 5.4)
  • 3D Touch and Apple Pencil support
  • Apple TV devices
  • Compass and location data(GPS)

下载上面链接的应用程序时,将iOS设备连接到计算机,打开应用程序。

When you download the app linked above, connect your iOS device to your computer, open the app.

从Unity编辑器转到
修改 - > 项目设置 - > 编辑器然后从设备下拉菜单中选择您的设备(iOS)。点击播放,您就可以在编辑器中测试您的触摸功能。

From Unity Editor, go to Edit->Project Settings->Editor then chose your device(iOS) from the device drop down menu. Click play and you will be able to test your touch functions from the Editor.

即使使用此应用程序,建议您在实际设备上测试您的应用程序。所以至少,一天做一次,以确保一切正常。

Even with this App, it is recommended to test your app on the actual device once in while. So at-least, do this once in a day to make sure everything is working as it should.

这篇关于如何加速iOS / Android移动设备的统一构建和运行过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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