Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Launching external applications

Discussion in 'Scripting' started by purplexis, Jun 29, 2007.

  1. purplexis

    purplexis

    Joined:
    Jan 29, 2006
    Posts:
    71
    Hey folks,

    I'm currently involved in a project where we want people to also have access to long videos and pdf documents from clicking a button inside a menu in Unity. Is there any way I could launch an external file/application from within Unity?

    I should be upgrading to Pro in not too long if this is something specific to that.

    Thanks!
     
  2. bronxbomber92

    bronxbomber92

    Joined:
    Nov 11, 2006
    Posts:
    888
    I'd check the .NET docs, as they probably have something to do this.
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    You can invoke the commandline tool: "open"

    I believe there was some thread about exactly this a while ago.
     
  4. purplexis

    purplexis

    Joined:
    Jan 29, 2006
    Posts:
    71
    I tried to find a thread about it with search. If anyone knows where this old thread is, could you link?
     
  5. thylaxene

    thylaxene

    Joined:
    Oct 10, 2005
    Posts:
    716