Application development

Quick start

This guide will show you how to set up your development environment and try out the MoverioBasicFunctionUnityPlugin sample.

Requirements

Hardware

Software

Creating a Unity project

  1. Open Unity and create a new 3D project.
  2. Import the MoverioBasicFunctionUnityPlugin.
    1. Select Assets> Import Package> Custom Package.
    2. Select the downloaded MoverioBasicFunctionUnityPlugin_1.0.0.unitypackage.
    3. In the Importing Package dialog, make sure all options are selected and click Import.

Open sample scene

  1. Find and open the Menu scene in Unity’s Project window. > Assets > MoverioBasicFunctionUnityPlugin > Samples > Menu > Scenes

Configure build settings

  1. Open the Build Settings window from File> Build Settings.
  2. Select Android and click Switch Platform.
  3. Click Platform Settings in the Build Settings window.
  4. In the Inspector window, configure Player Settings as follows:
configuration value
Player Settings > Other Settings > Package Name Create a unique app ID using the Java package name format.
For example, com.example.helloMoverio
Player Settings > Other Settings > Minimum API Level Android 7.0 ‘Nougat’ (API level 24) or higher

Build and run the sample

  1. Enable developer options and USB debugging on your Android smartphone.
  2. Connect your Android smartphone to your PC.
  3. In the Unity Build Settings window, click Build and Run.
  4. Remove your Android smartphone from your PC and then connect it to Moverio.
  5. Tap the button of the sample you want to check.

Next step