lapis42 / mouse-vr

Packages for the Unity game engine, emphasizing animal studies in VR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mouse-vr

Summary

This branch is forked from janelia-unity-toolkit with additional functionality for rodent virtual reality experiment.

Installation summary

  1. Install Unity Hub
  2. Install Unity 2020.3 LTS from Unity Hub
  3. Download this github
  4. Install org.janelia.package-installer package
  5. Install org.janelia.mouse-vr using "Window > Install Package and Dependencies" package
  6. Install Bezier Path Creator from Asset Store
  7. Run "mouse-vr" package from the Unity editor's "Window" menu

Installation

Use Unity's approach for installing a local package saved outside a Unity project. Start by cloning this repository into a directory (folder) on your computer; it is simplest to use a directory outside the directories of any Unity projects. Note that once a Unity project starts using a package from this directory, the project automatically gets any updates due to a Git pull in the directory.

Some of the packages in this repository depend on other packages (e.g., the package for collision handling uses the package for logging), but the standard Unity Package Manager window does not automatically install such dependencies. To overcome this weakness, use the org.janelia.package-installer package. Once it is installed (as described in the next subsection), use it to install [mouse-vr] package as follows:

  1. Choose "Install Package and Dependencies" from the Unity editor's "Window" menu.
  2. In the file chooser that appears, navigate to the directory with the mouse-vr repository. Then go down one more level into the subdirectory for the particular package to be installed (e.g., org.janelia.mouse-vr).
  3. Select the package.json file and press the "Open" button (or double click).
  4. A window appears, listing the package and other packages on which it depends. Any dependent package already installed appears in parentheses.
  5. Press the "Install" button to install all the listed packages in order.
  6. All the listed packages now should be active. They should appear in the Unity editor's "Project" tab, in the "Packages" section, and also should appear in the editor's Package Manager window, launched from the "Package Manger" item in the editor's "Window" menu.

Note that org.janelia.package-installer requires Unity version 2019.3.0 or later.

About

Packages for the Unity game engine, emphasizing animal studies in VR.

License:Other


Languages

Language:C# 96.6%Language:Python 2.2%Language:HTML 1.1%