Installation
Unity
- Prerequirements:
- Unity 2022.2+
- This limitation is due to the use of the Incremental Source Generator.
- Unity 2022.2+
- Optional
- Install UniTask >= 2.5.5
- If UniTask is installed,
VITALROUTER_UNITASK_INTEGRATION
flag is turned on and the optimized GC-free code is executed. - See UniTask Integration section for more details.
- If UniTask is installed,
- Install VContainer >= 1.15.1
- For bringing in DI style, VitalRouter supports Integration with VContainer, a fast and lightweight DI container for Unity.
- See DI section for more details.
- Install UniTask >= 2.5.5
Then, add git URL from Package Manager:
https://github.com/hadashiA/VitalRouter.git?path=/src/VitalRouter.Unity/Assets/VitalRouter#1.6.0
.NET
THe following NuGet packages are available.
Package | Latest version |
---|---|
VitalRouter | |
VitalRouter.Extensions.DependencyInjection |
note
For Unity, use of the above package is recommended instead of Nuget.