Communicating between C# Unity and AS3 applications
Copy link to clipboard
Copied
I'm looking for a way to send commands from a control panel built in Unity with C#, to an application built previously in AS3 using Adobe Flash CS6. Previously I had two separate CS6 programs communicating with each other using LocalConnection to send commands from a control panel program to a stage program; I'd like to keep the LocalConnection coding intact if at all possible.
Right now I just have the Unity app save a command to a text file that the CS6 app reads every 0.1s, which I have to think is incredibly inefficient.
Copy link to clipboard
Copied
I am not sure you can keep using LocalConnection but what comes to my mind is using XML socket for such real-time communication. Check this link for more:
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/XMLSocket.html
Hope this helps.

