This section describes how to control UI with Unity application.
Create a Unity project and import the package
Refer to Create a Unity project for how to create
Drag and drop MoverioUI 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
MoverioUI.GetKeyAssignのように使用したいAPIを記載します
Refer to the following script for the description method of each function
Lebel |
Script |
---|---|
KeyAssign |
GetKeyAssignController.cs |
KeyEnable |
GetKeyEnableController.cs |
Reset |
ResetToDefaultController.cs |
Reconnect |
UIReconnectController.cs |
Attach script to GameObject
Refer to API Reference for API specifications.