Cysharp / ObservableCollections

High performance observable collections and synchronized views, for WPF, Blazor, Unity.
MIT License
544 stars 43 forks source link

Best way to add to Unity project? #6

Closed keenanwoodall closed 2 years ago

keenanwoodall commented 2 years ago

In the Getting Started section of the README it says to read the Unity section, but the section does not mention how to install. I do not believe it's possible to install it through nuget in the package manager, and there isn't a upm branch.

Are we meant to clone the repo and extract the Unity code into a project as a local package, or is there a way to add the package via Package Manager?

Apologies if this is a silly question! Thanks for making something a slick package - I just want to make sure I'm using it correctly :)

neuecc commented 2 years ago

UPM git URL package or asset package(ObservableCollections.*.unitypackage) in releases page.

git URL is https://github.com/Cysharp/ObservableCollections.git?path=src/ObservableCollections.Unity/Assets/Plugins/ObservableCollections

I'll write this info to ReadMe, thanks.

keenanwoodall commented 2 years ago

Thank you! Would it be possible to move the additional System dlls into that folder so they are included with the package? As is, it won't compile after install through upm unless the dlls are copied manually into the Assets/

neuecc commented 2 years ago

We do not bundle dlls with package manager. If you do, it will cause conflicts when you add other packages. Also, the latest version of Unity (netstandard2.1) does not require it, so this also conflicts.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.