MidLevel / Ruffles

Lightweight and fully managed reliable UDP library.
MIT License
211 stars 28 forks source link

Upm support #19

Open paulpach opened 4 years ago

paulpach commented 4 years ago

Is your feature request related to a problem? Please describe. Keeping assets up to date in unity is extremely painful. It pollutes your project file structure. If you upgrade, it doesn't delete old files. There is no way to tell which version you have installed.

Describe the solution you'd like Unity came up with a much better way to use assets: UPM. Please provide a UPM package.json file in your repo so that I can install ruffles using UPM.

See here for some documentation: https://medium.com/openupm/how-to-maintain-upm-package-part-1-7b4daf88d4c4

See here for MirrorNG, which does provide UPM distribution: https://github.com/MirrorNG/MirrorNG

Additional context My goal is to make a MirrorNG transport for ruffles, I would like to add ruffles as a UPM dependency so that I don't have to maintain a copy of your files.

TwoTenPvP commented 4 years ago

Whats wrong with NuGet?

But sure, I have nothing against adding UPM support.

paulpach commented 4 years ago

Nothing wrong with NuGet,

But I want to use this with unity, and unity comes with UPM built in. It seems to be the future for asset distribution in unity.

If you add upm support, then installing this is as simple as clicking "Add package from git URL" as seen here: image

You can even expose your examples as optionals.