Sites

Menu

Ways to run your mobile client

Unity provides multiple ways to run your mobile client-worker. Each option works with SpatialOS. Below we describe the benefits and drawbacks of each option.

In the Editor

For standard workflows and minor changes, we recommend that you run your game in the Editor to speed up your iteration time. You can set your build platform to Android or iOS. This allows Unity to compile and execute sections of code contained within platform #if directive: #if UNITY_ANDROID or #if UNITY_IOS.

Unity Remote

With the Unity Remote app, you don’t have to spend time building and deploying your game, reducing development iteration time. It mirrors your Unity Editor’s Game view on your mobile device, giving you quick feedback on how the game looks on a mobile device. However, it does not provide the full native capabilities of the game running on a device.

For more information, see the following documentation:

Android Emulator or iOS Simulator

Use an emulator or simulator to test your game on a variety of devices and target versions without needing a physical device.

For more information, see the following documentation:

Android or iOS device

This option provides the full native capabilities of deploying the game to a device and allows you to identify any potential issues you may encounter on a real device.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums