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
Find the manifest.json file in the Packages folder of your project and edit it to look like this:
{
"scopedRegistries": [
{
"name": "My Registry",
"url": "https://registry.npmjs.org",
"scopes": [
"com.litefeel"
]
}
],
"dependencies": {
"com.litefeel.openfileswithdefaultapp": "1.4.1",
...
}
}
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.4.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