Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Communicating between C# Unity and AS3 applications

New Here ,
Jun 13, 2022 Jun 13, 2022

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.

TOPICS
ActionScript , Code , How to
146
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 13, 2022 Jun 13, 2022
LATEST

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines