- Home /
Communication between Webplayer Built Unity Application and windows Form, when both are embeded in the same Windows Form.
I made Unity application and build it in Web-player. Then i embed it in visual studio Windows form. There is one main form, in which there are two forms. In one form i am sending text and in other form, unity is embeded. How can i communicate between them?
Answer by jeango · Nov 01, 2017 at 09:57 AM
You'll probably have to use a client-server approach to communicate between the two applications:
https://docs.unity3d.com/Manual/UNetUsingTransport.html
another approach could be to write your own .dll to manage the exchange between your app and Unity
$$anonymous$$go, thanks for your reply. In my unity application i have implemented client and my server is on visual studio Windows form. The problem i am facing is that if i build my unity application in Windows,Linus,$$anonymous$$ac then there is no issue it sends request to the server but if i build it in web player and run it on windows Form using WindowsForm's Web Browser control then it runs fine but it does not send requests to the server. Please help, i am badly stucked. Note : i have made TCP connection.