Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Display another program in Unity

Discussion in 'Scripting' started by benjaminver89, Nov 19, 2015.

  1. benjaminver89

    benjaminver89

    Joined:
    May 14, 2015
    Posts:
    30
    Is there a way to launch another program and display it as a texture in Unity?
    In fact, i have a code in another language and i don't have enough time to recode it in c#.
    the program i wanna display, only show images from an external device.
     
  2. passerbycmc

    passerbycmc

    Joined:
    Feb 12, 2015
    Posts:
    1,739
  3. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,380
    Well... technically speaking, you could in certain cases.

    But it's so non-trivial that you couldn't do it as some basic "attach texture and go" sort of manner.

    The fact you're asking means the non-trivialness of it is far out of the scope of what you're wanting in the realm of "ease of use".

    So yeah... short answer... no.
     
    Nigey likes this.
  4. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,744
    Well, this is probably possible, you'd have to implement the program as a na-
    Well then definitely no. This'll take longer.
     
    lordofduct likes this.
  5. benjaminver89

    benjaminver89

    Joined:
    May 14, 2015
    Posts:
    30
    Thanks, finally I save data in file with c++ and then, i load it in Unity...it's not the best but it will be ok until I write my function in c#.
     
    Nigey likes this.