This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Mobile Application Launcher

All Unigine mobile applications (both on iOS and Android) come together with a launcher that makes iterative development and testing fast and convenient. Instead of uploading resources onto mobile devices, the data which is stored on the development machine is simply shared over the network.

How to Run Unigine Mobile App

  1. Load Unigine mobile application onto your mobile device.
    Android package files (APK) can be copied as they are, while iOS application need to be signed and archived into a bundle first (see more details).
  2. On the development machine, choose a data directory with resources to be used. Run the FileServer console tool from this folder (or the 64-bit version with x64 postfix):
    Shell commands
    fileserver_x86
    
    The server will be run on the default port 8889 (you can specify other options, if necessary).
  3. Launch Unigine application on the mobile device.
  4. In the corresponding fields specify the name of the remote server and port to connect to. By default, these are:
    • Host: localhost
    • Port: 8889
  5. Choose other start-up options for the application and press Run launch to Unigine engine.

After that, you can add any modifications you need: create worlds, add models, textures, create and modify scripts. All these changes will be seen on the screen of your mobile device at once, without uploading content.

Launcher Options

  • Host — the name of the remote host to connect to. By default it should is localhost.
  • Port — port number to connect to. By default it should be 8889.
  • Resolution — screen resolutions supported by the current device.
  • Profiler — specifies if the performance profiler (in one of its modes) should be enabled.
  • Textures — the quality of textures. For mobile devices it is recommended to use medium or low quality.
  • Shaders — the quality of shaders. For mobile devices it is recommended to use medium or low quality.
  • Defines — extern or custom #DEFINE to be used, if necessary. Several defines are comma separated (no whitespace). If you want to clear the list of defines, simply pass " " as an argument to this command.
  • Command — any console command, if necessary.
Last update: 2017-07-03
Build: ()