Skip to the content.

Install toio SDK for Unity

Unity Project Creation

Open Unity Hub and click [New] in the upper right corner.

When the project creation screen opens, set the following settings.

After completing the settings, click [Create].

Make sure that Unity is up and running.

Install UniTask

toio SDK for Unity uses Unity-optimized asynchronous processing library UniTask . Therefore, you need to install UniTask (2.1.0 or later) in this Unity project.

To install UniTask, follow the steps below (as of July 20, 2023; Unity 2022.3.44f1 LTS).

  1. In Unity, go to the [Window] menu and select [Package Manager] to open the Package Manager.
  2. Click the [+] icon and select [Add package from git URL…]
  3. Add the url below
    • https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask

The following document contains installation instructions and screenshots of UniTask for your reference.

Adding the SDK

1. download unitypackage

Open [Assets] of the latest release version of Click here, find and download [toio-sdk-for-unity.unitypackage].

2. Drag and drop to Unity project

After opening the downloaded folder, drag and drop [toio-sdk-for-unity.unitypackage] into the [Assets] folder.

3.Run samples and check operation

Once loaded into your Unity project, navigate to the Assets/toio-sdk/Tutorials/1.Basic/0.BasicScene/ folder and double-click on 0.BasicScene scene file to open it.

Once the scene file is open, click on the Play button at the top of the editor.

Make sure that the sample works (on Simulator) as shown below. To connect to the real toio™ Core Cube, please refer to docs_EN/README.md “Build”.

This completes the installation of toio SDK for Unity. There are various tutorials available for this SDK. For more information about the tutorials, please refer to Tutorial (Basic) .