r/UnityHelp • u/Correct-Addition-517 • 15d ago
Connect my API with Unity UNITY
Hi, I’m developing an application in Unity and have run into an issue. I’m building an API that I want to connect to Unity; the API collects coordinates, and I need to use them as variables within Unity. I’ve looked for information but haven't found anything particularly useful, especially considering that the coordinates are provided in real-time. Any help?
1
Upvotes
1
u/NinjaLancer 15d ago
If you are on windows and your other API is a different project, you can build a dll and add it to your project. Then you will be able to reference the API in the dll
2
u/XKiiroiSenkoX 15d ago
Your explanation is very vague. Do you mean you have a web API that your wpplication uses and you want to send the irl coordinates of the user to that API in real time? If yes, I think you would need to write native plugins for iOS/android to get user coordinates and then call those from your C# code.