简体   繁体   中英

Connect Unity to .NET core API

Now im working on Unity app which has to communicate in real-time with .net core API . Unity app has to listen for changes on some values on API, and than recive that changes and do some things. Calling get method in update in unity to see changes is the worst solution. I tough maybe about firebase in middle, but im stucked at connection to firebase from .net core api.

Any ideas ? Different solutions ?

Could this even work ?

Thanks a lot!

If you need to receive changes on the client side, ASP.NET Core SignalR is a framework you should look at. It helps to add real-time functionality to apps. There is a documentation on SignalR client, and there is a tutorial on how to start working with it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM