❔ Installing System.Threading.Tasks.Dataflow in Unity
Hi. I'm developing a game in Unity and learning C# for the first time. I'm wondering how I would be able to import the Dataflow Library into Unity? Unity throws an error when I try to add the tar.gz file in the package manager. If anyone could help, that would be great! Thank you!
6 Replies
It's a nuget package, not sure if it will work with Unity just like that. Moreover, it seems to be based on
Task
s, so asynchronouse programming. Last I checked, Unity used their weird coroutines and yield
ing from IEnumerable
s instead of good and proper async/await
So not sure if you'll be able to use this package, even if you manage to install itI'm only trying to do this so that I can wait for data to be delivered from one class to another
Do you know if there's another way to do this?
I was looking online for ways to do this
Asynchronously
I can use await in C# in Unity
I've already done that
In case of Unity, you probably should look into coroutines
Try asking on the $unity server as well, you'll get more engine-specific help there
thanks!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.