Skip to main content

Unity

unity-150x150

Unity applications do not function in the same way that standard Android applications do, so WearHF is not able to interpret them in the same way out of the box.

However, we have developed a plugin that enables speech commands to work in Unity applications with a small amount of development.

The Unity Plugin is RealWear’s solution to accessing the WearHF Voice Service running on the RealWear Device headset from inside a Unity Application.

There are 2 files required by your Unity application to access the WearHF service: a native Android plugin and a managed C# plugin. A Unity project will use the managed plugin to add and remove voice commands to the WearHF service.

Download

The Unity plugin can be downloaded as a zip file which can be extracted and imported into your project.

Download Zip (v1.1.0)

Contents of Zip

Download link above contains:

WearHFPlugin.dll – The complied Managed Unity Plugin.

WearHFUtils.aar – The complied Native Plugin.

The following tutorial shows how to use this plugin inside a Unity project.

Tutorial

This example Unity application (with source code) is provided to show the plugin in action.

Example

The API shows all the available functionality of the plugin.

API