Installing Modula
There are multiple ways to install Modula.
We recommend using it as Unity Package Manager (UPM) Git dependency:
1. Recommended Method (UPM Git Dependency)
- In Unity, go to Window ▶ Package Manager
- Click ”+” ▶ Add Package from Git URL…
- Paste this link:
https://github.com/twistapps/modula.git
- Wait for unity to download the package for you!
Click on the image to see in full screen
Pros & Cons
- Faster updates: don’t need to wait for Unity team to approve the package. Download updates right when they’re ready and published
- “Under the Hood” usage: no code in your
Assets/
folder at all.
con: it’s not so straightforward to dig into the source code because it’s hidden in
Packages/
folder.
Choose this method if you want Modula to work under the hood without littering your Assets/
folder.
2. Download from Asset Store
- Go to Unity Asset Store (we are working on publishing the package to Unity Asset Store. After it’s published, the link will be available here.)
- Add the package to your account.
- Click “Download”
- Follow further instructions
Pros
- Flexibility: the source code is explicit and possesses its own
Twistapps/Modula
folder.
Choose this method if you want to experiment with Modula’s sources yourself.
3. Manual Installation
- Download latest release
- Unpack the archive to
unity-project-root/Packages
OR
unity-project-root/Assets
- Enjoy!
Methods Comparison
Feature | UPM Git | Asset Store | Manual |
---|---|---|---|
Get updates using UPM | ✅ | ✅ | ❌ |
Shown in Assets/ folder | ❌ | ✅ | depends |
Easy to edit sources | ❌ | ✅ | ✅ |
Basically, if you don’t want to dig deeper into Modula’s source, use the first method. Otherwise, it’s your choice :D
Updating
Don’t forget to check for updates from time to time! Periodically we provide some new features and bugfixes
- In Unity, go to Window ▶ Package Manager
- Choose “Packages: In Project” at the top of the UPM window.
- Find “Modula” in the list
- Click “Update”. If an update is available, it will be automatically downloaded.