I made a simple game in unity. I want this game to read data from socket as server. File named Socket.cs, creates a server and listens port 8000, if i run this file in visual studio, it works. I want to run this file when the unity game has started. The problem is here, game starts but socket.cs file hasn't been started. Socket.cs is placed on assets directory in unity game.
The code i used for socket server in c#: http://paste.ubuntu.com/16466625/
Could you help me please to start socket.cs file when the game has been started?
Thank you