This guide will help you import the Intel® RealSense™ Unity* Toolkit from the Intel RealSense SDK to allow easy integration of RealSense technology into your projects. This guide assumes you have installed a supported version of Unity and the latest version of the Intel RealSense SDK. Once you've imnported the toolkit into your environment, check out the next blog in this series, "12 Steps to Apply RealSense technology to your Unity Project".
1. Launch Unity | ![]() |
2. Create a new project by selecting File, New Project from the menu bar | ![]() |
3. In the Project Wizard screen (under the Create New Project tab), click the Browse button and navigate to the folder where you want to save the project (e.g., c:\UnityProjects). Highlight the folder and click on the Select Folder button. |
|
4. In the Project Wizard screen (under the Create New Project tab), add the name of your new project in the Project Location box (e.g., C:\UnityProjects\MyNewProject1). |
|
5. Click the Create button. |
|
6. Import the RSSDK Unity Toolkit by selecting Assets, Import Package, Custom Package… from the menu bar. |
|
7. In the Import Package screen, navigate to the SDK folder containing the Unity Toolkit package. This location may vary depending on where the SDK was installed. In this example, the toolkit is located under C:\Program Files (x86)\Intel\RSSDK\framework\Unity. Select RSUnityToolkit.unitypackage and then click the Open button. |
|
8. The Importing Package screen will appear with all of the plugins, actions and prefabs selected. Leave all of the checkboxes selected and click on the Import button. |
|
In the Project screen you will see that a number of assets have been added to the project, organized under the following folders:
- Plugins – contains libpxccpp2c.dll, the unmanaged C++ P/Invoke DLL.
- Plugins.Managed – contains libpxcclr.unity.dll, the managed C# interface DLL.
- RSUnityToolkit – Contains the Actions, Internals, Prefabs, and Samples folders.
There you go, you can now apply these actions to objects in your projects. See the companion blog “12 Steps-to program – applying RealSense actions to Unity objects” if you’d like to learn more of the basics of using Intel RealSense technology in your Unity projects.
Links:
图标图像:
