Feature Request
KannanKrish opened this issue · 3 comments
KannanKrish commented
- Automatic detection of Unit Engine location in my machine. If a user has multiple Unity versions it should pick the minimum version.
- I want to access ECS functionality in my library.
Rabadash8820 commented
Hi @KannanKrish!
- I'm hesitant to do this, as it goes against NuGet's dependency model. In NuGet, a particular version of your project references a particular version of each dependency. The UnityEngine DLL is no different. By comparison, you wouldn't want your project to look up the minimum version of Json.NET or NUnit on your machine either; what if you were collaborating with someone whose machine had different versions? This package allows you either to reference the version of Unity used by a particular Unity project by setting
$(UnityProjectPath)
(which parses the project'sProjectSettings/ProjectVersion.txt
file), or to reference a specific version of Unity by setting$(UnityVersion)
. One of these approaches should fit your use case, but I'd be curious to hear why if not. - That's totally doable, you just need to reference the appropriate ECS assemblies. They should be present either under
$(UnityPackageCachePath)
or$(UnityScriptAssembliesPath)
after you install theEntities
UPM package in a Unity project.
KannanKrish commented
Thanks for the details explanation.
Rabadash8820 commented
No problem. I'm gonna close this Issue. Feel free to reopen or open a new Issue if you have any other concerns.