Installation¶
Before You Begin¶
SOAR is a Unity Package that can be installed using one of the methods below. It requires Unity 6.0 or later.
While SOAR can function independently, it is designed to be extended with the R3 library. It is highly recommended to install R3 to unlock SOAR's full potential.
OpenUPM¶
Import via scoped registry. Update from Package Manager.
To add OpenUPM to your project:
- open
Edit/Project Settings/Package Manager - add a new Scoped Registry:
- click Save
- Open
Window/Package Manager - Select
My Registriesin top left dropdown - Select
SOARand clickInstall - Select
R3and clickInstall(Recommended) (see: Note)
Note
Installation for R3 requires dependency imports from NuGet. See R3 Unity Installation for further detail.
GitHub URL¶
Use the GitHub link for importing. Update using the Package Manager in Unity 2021.2 or later.
SOAR can be added directly from GitHub. From Unity 2021.2, Package Manager can be used to update to latest version on the main branch. Otherwise, you need to update manually by removing and then adding back the package.
- Open the Package Manager
- Click the
+icon - Select the
Add from Git URLoption - Paste the following URL:
https://github.com/ripandy/SOAR.git - Click
Add
To install specific version, refer to SOAR's release tags.
For example: https://github.com/ripandy/SOAR.git#1.0.0
Clone to Local Folder¶
Clone SOAR to local folder as independent project.
SOAR can be cloned to local folder and can be treated as independent project. However, SOAR requires separate Unity Project in order to test its functionality.
- Clone SOAR's repository to your local directory.
- Open containing Unity project to import SOAR.
- Open
Window/Package Manager - Click the
+icon - Select the
Install package from diskoption - Select the
package.jsonfile from the cloned directory. - Click
Add
The package will be added to manifest.json as a local package (file://).
Source codes can then be modified from containing Unity Project.
Changes can be managed with git as usual.
Package path can be changed to relative path as an alternative to the default absolute path.
Clone to Packages Folder¶
Clone this repository to Unity Project's Packages directory: YourUnityProject/Packages/.
Unity will treat the project as a custom package. Source codes can then be modified from containing Unity Project. Changes can be managed with git as usual. SOAR can also be cloned as Submodule of your main git repository.