Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to speed up the build and run process in unity for mobile devices iOS/Android [closed]

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 ?

like image 534
kakashy Avatar asked Aug 23 '16 17:08

kakashy


People also ask

Can Unity Games run on Android and iOS?

Unity is a cross-platform game engine and can run in iOS, Android, Windows, Mac, Linux, PlayStation, etc. Unity libraries are built using C# (C-Sharp) code.

How do I build and run Unity iOS?

Open Unity, go to File > Build Settings, and select Switch Platform on the bottom of the window. Unity will start making the switch, once it is finished, the Unity icon will appear next to the iOS icon and the Build option will be activated. Select Build, you will be prompted for a place where to save the files.


1 Answers

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.

like image 134
Programmer Avatar answered Oct 11 '22 10:10

Programmer