Open Files With Default App is just perfect Unity asset plugin to open file with system default Application.
- Open files with default application
- No runtime resources required
- No scripting required
This package is available on OpenUPM.
You can install it via openupm-cli.
openupm add com.litefeel.openfileswithdefaultapp
Find the manifest.json file in the Packages folder of your project and edit it to look like this:
{
"dependencies": {
"com.litefeel.openfileswithdefaultapp": "https://github.com/litefeel/OpenFilesWithDefaultApp.git#1.5.1",
...
}
}
- Download
Source code
from Releases - Extract the package into
$UnityProject/Packages
or$UnityProject/Assets/Plugins
- Select
Edit > Preferences… > Open Files With Default App
from the menu - Input the file extensions, like txt
- Double click txt file, will open it with default application
- Create issues by issues page (https://github.com/litefeel/OpenFilesWithDefaultApp/issues)
- Send email to me: litefeel@gmail.com