This section describes how to control audio with the Unity app.
Create a Unity project and import the package
Refer to Create a Unity project for how to create
Drag and drop MoverioAudio into the hierarchy window

Create a script

Add using
Open the script created in 3 and describe as using MoverioBasicFunctionUnityPlugin;
using MoverioBasicFunctionUnityPlugin;Call a function
Describe the API you want to use like MoverioAudio.GetVolume
Refer to the following script for the description method of each function
| label | script |
|---|---|
| Volume |
GetVolumeController.cs SetVolumeController.cs |
| Volume Min | VolumeMinController.cs |
| Volume Max | VolumeMaxController.cs |
| Volume Limit Mode | VolumeLimitModeController.cs |
| Device Mode |
GetDeviceModeController.cs SetDeviceModeController.cs |
| Gain Step |
GetGainStepController.cs SetGainStepController.cs |
| Gain Step Min | GainStepMinController.cs |
| Gain Step Max | GainStepMaxController.cs |
Attach script to GameObject
Please refer to API Reference for API specifications.