well i know how to open a external application in unity 3d
like this
// Goes in OnGUI():
if(GUI.Button(new Rect(15, 15, 95, 35), “Open Notepad”))
{
System.Diagnostics.Process.Start(“notepad.exe”);
}
but how to close that or any other external application… java script needed urgent
Your Process.Start call returns a Process component. Looking at the methods available on that component, you have at least a “Kill” method available. That should work, though there might be a more elegant approach (or, even a moure suitable Process method - I only took a brief look).