Trove is a collection of packages for Unity DOTS.
All of these packages care about:
- Performance
- Customizability
- Netcode compatibility
- Keeping things as simple and not over-engineered as possible
- Having as little impact on your architecture as possible
- Making you do things manually so you are fully aware of everything that happens
These packages can be installed into your Unity project through the package manager:
- In the Unity package manager window, click the
+
button in the top right. - Choose
Add package from git URL
. - Enter the URL(s) of the package(s) below and press
Add
. This should import the package(s).
Some of the packages require you to install the dependencies manually. When this is the case, the "Install URLs" section of the table below will let you know.
Moreover, be sure to check the "Samples" tab of each package's page in the Package Manager. Several of them come with "User Content" that must be installed in your project before you can use the package.
Package statuses:
- ✅: Slightly experimental
⚠️ : Experimental- ⛔: Too experimental
Name | Install URLs | Description | Status |
---|---|---|---|
Common | https://github.com/PhilSA/Trove.git?path=/com.trove.common |
Trove Common provides various tools and utilities that may be used by other packages or projects. (Documentation) |
✅ |
Attributes | https://github.com/PhilSA/Trove.git?path=/com.trove.attributes |
Trove Attributes allows you to define identifiable "numbers" (attributes) on entities, and add/remove "rules" (modifiers) that affect the evaluation of these numbers' values. This tool can be used to effortlessly setup gameplay mechanics such as RPG character/equipment attributes, buffs, effects, roguelike-style stackable powerups and synergies, etc... (Documentation) |
|
Utility AI | First, install: https://github.com/PhilSA/Trove.git?path=/com.trove.common Then, install: https://github.com/PhilSA/Trove.git?path=/com.trove.utilityai |
Trove Utility AI provides a flexible and efficient decision-making system for ECS. (Documentation) |
|
Tweens | First, install: https://github.com/PhilSA/Trove.git?path=/com.trove.common Then, install: https://github.com/PhilSA/Trove.git?path=/com.trove.tweens |
Trove Tweens is a simple tweening tool that allows you to create your own highly-efficient custom tweens. (Documentation) |
|
Polymorphic Structs | https://github.com/PhilSA/Trove.git?path=/com.trove.polymorphicstructs |
Trove Polymorphic Structs provides a codegen tool for polymorphic behaviour in burstable unmanaged code. They can be used to solve a variety of problems that aren't so obvious to solve in ECS, such as ordered events or state machines without structural changes. (Documentation) |