How to speed up the build and run process in unity

2020-01-24 14:16发布

问题:

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 3 years ago.

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.

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 ?

回答1:

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.

It supports the following sensors:

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

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

Android:

  • Gamepads connected to the remote device
  • Compass and location data(GPS)

iOS:

  • 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)

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

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.