neuecc / UniRx

Reactive Extensions for Unity
MIT License
7.08k stars 892 forks source link

Can I use UniRx outisde of Unity, in standalone library for tests? #428

Closed mkrzaczek closed 5 years ago

mkrzaczek commented 5 years ago

As in the title. I want to create a DLL (.NET library) and use it outside of Unity. The potential use cases are unit testing and using this library on a backend server, without Unity. Is this something that is supported out of the box? Or can I at least make it work without too much hassle? Thanks!

zhuxianzhiniko commented 5 years ago

Https://github.com/dotnet/reactive Use this library.

Most of them are consistent with the API.

mkrzaczek commented 5 years ago

@zhuxianzhiniko thank you for your answer. Since you suggested using another library - are you saying that I can't use UniRx outside of Unity? I would rather stick to UniRx if I can.

zhuxianzhiniko commented 5 years ago

@zhuxianzhiniko thank you for your answer. Since you suggested using another library - are you saying that I can't use UniRx outside of Unity? I would rather stick to UniRx if I can.

UniRx has some APIs based on Unity's Coroutine that cannot be run in non-Unity environments.

mkrzaczek commented 5 years ago

Thank you, I know everything I wanted.