您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
1.9 KiB
1.9 KiB
Setup for local development
- Clone the Perception repository
- Install and use Unity latest 2019.3 Unity editor
Setting up a Project
Below are two options for getting started using the Perception package. Option 1 is opening existing test projects in the repository. Option 2 new Unity project and integrate the Perception package.
Option 1: PerceptionHDRP & PerceptionURP Projects
The repository includes two projects for local development in TestProjects
folder, one set up for HDRP and the other for URP. You can open these with the Unity
editor you installed in Setup instructions.
Option 2: Create a new Project
These option is walkthrough in creating a new project, then adding the Perception SDK package to the project for development use. The following instructions reference the Unity doc's page on installing a local package
Create a new project
- Create a new HDRP project or open an existing project
- Creating anew HDRP project can be done by creating a new project using the HDRP template
- Back in Unity editor, got Window -> Package Manager
- Add the High Definition RP package, version 7.1.2 or later from the packages list
- In the Package Manager window find and click the + button in the upper lefthand corner of the window
- Select the add package from disk option
- Navigate to the com.unity.perception folder in your cloned repository and select the package.json file
- Once you have a project with Perception SDK installed you can move forward to the Getting Started walkthrough
Once completed you can move on to the getting started steps, click here to start project setup.