How to creat a server wich i can connect to it from unity?

#1

Iwanna send data to node red from unity so that i can control my robot.
so i suggest to creat a node red server and connect to it form unity wich will be the client.
have you got any idea ?

0 Likes

#2

Step One: you have to find out what interfaces/api's are available in Unity that can be used for this purpose

1 Like

#3

all i know is that unity is connected to visual studio (C#.NET)

0 Likes

#4

A quick google search shows Unity includes modules for making HTTP requests - https://docs.unity3d.com/Manual/UnityWebRequest.html

So you could create an HTTP/REST API in Node-RED and call it from Unity as required.

3 Likes

#5

thank you :slight_smile: on last request : can you give me examples of API's and interfaces ? ( not necessary available in Unity )

0 Likes