Skip to content

Contributing

Chiakoo edited this page Aug 26, 2021 · 6 revisions

Pushing Changes to the HaRT Repository

Important

before pushing:

  • open ..\HaRT\Packages\manifest
  • delete the following line "com.valvesoftware.unity.openvr": "file:../Assets/SteamVR/OpenVRUnityXRPackage/Editor/com.valvesoftware.unity.openvr-1.1.4.tgz",

otherwise it is not possible to open the unity project, since the file will not be found because it is created only after SteamVR is imported

Using the HaRT

To use the toolkit in your own projects, you only need to download and import the provided .unitypackage files (see the latest release).

Modifying the HaRT

If you want to check out the full toolkit repository, for example to fix a bug, extend the toolkit, or just to experiment, you can proceed as follows:

  • fork the repository by clicking on Fork in the top right corner of the GitHub page
  • clone your forked repository to your local machine
  • download the recommended version of Unity using Unity Hubs (currently: 2019.4.17)
  • open the HaRT Unity project in the repository
  • visit the Asset Store and import the SteamVR package into the project (even if you do not use VR, this step is still required to ensure all scripts of the toolkit compile correctly)
  • visit the Leap Motion website, click on "Download ... for Windows" and import the Core.unitypackage that you will find in the .zip file (even if you do not use or have a Leap Motion, this step is still required to ensure all scripts of the toolkit compile correctly)
  • start working in the HaRT Unity project

If you want to propose changes to the toolkit:

  • commit and push your relevant changes to the master branch of your own fork
  • visit GitHub and create a pull request with comments describing your work
  • we will review the pull request, reply to you and merge your changes into the main repository

In case you have any questions contact André.