-
Notifications
You must be signed in to change notification settings - Fork 4
Installation Instructions
Anansi has the following third-party dependencies. These are installed by following the steps below.
- Ink-Unity-Integration version 1.1.8
- TDRS version 2.0.0
These instructions cover adding this repository as a dependency within Unity's package manager. This is the recommended installation method because it facilitates dependency downloading when working on a game with collaborators. Also, it ensures that all dependencies are also installed.
Copy the following lines to the dependencies
section of the Packages/manifest.json
file in your Unity Project. If they already exist in the file, check that the version numbers are compatible.
"com.inkle.ink-unity-integration": "https://github.com/inkle/ink-unity-integration.git#upm",
"com.shijbey.tdrs": "https://github.com/ShiJbey/TDRS.git?path=/Packages/com.shijbey.tdrs#v2.0.0",
"com.shijbey.anansi": "https://github.com/ShiJbey/Anansi.git?path=/Packages/com.shijbey.anansi#v1.0.0",
Alternatively, You could add each entry manually in the package manager window, but this requires more work.
- Open your project in Unity
- Open the package manager window by selecting
Window > Package Manager
in the top menu. - Click the
+
icon in the top left, and selectAdd package from git URL...
. - Paste a URL from those listed above and press
enter
. - Repeat steps 2 and 3 with the remaining entries above until all packages are installed.
- You should see
Anansi
and its dependencies appear in the package manager window. - Close the package manager window.
These instructions cover downloading a tarball release and installing it within Unity's package manager. This does not install Anansi's dependencies.
- Find your desired release on the Releases Page.
- Download the
anasi_<VERSION>.tar.gz
from under theAssets
dropdown (<VERSION>
should correspond to your desired release version), - Open your project in Unity
- Open the package manager window by selecting
Window > Package Manager
in the top menu. - Click the
+
icon in the top left, and selectAdd package from tarball...
. - Locate and select the
tar.gz
file downloaded previously. - Wait, and you should see
Anansi
appear in the package manager window with a version matching your downloaded version. - Close the package manager window.