This plugin helps you access your Google Drive™ files from within Unity editor. You can easily download these files to your Unity project or see the recent changes made to a file/folder. Please note that this plugin accesses Drive™ storage in read-only mode and doesn't allow uploading files to Drive™ or modifying the existing Drive™ files.
The plugin requires at least .NET Standard 2.0 or .NET 4.x Api Compatibility Level in Player Settings. Tested on Unity 2018.4.34f1 and 2019.4.26f1.
There are 4 ways to install this plugin:
- import DriveIntegration.unitypackage via Assets-Import Package
- clone/download this repository and move the Plugins folder to your Unity project's Assets folder
- (via Package Manager) add the following line to Packages/manifest.json:
"com.yasirkula.driveintegration": "https://github.com/yasirkula/UnityEditorGoogleDriveIntegration.git",
- (via OpenUPM) after installing openupm-cli, run the following command:
openupm add com.yasirkula.driveintegration
- Create a Google Cloud project: https://github.com/yasirkula/UnityEditorGoogleDriveIntegration/wiki/Creating-Google-Cloud-Project
- Open the Drive Browser window via Window-Drive Browser. The first time this window is opened, it will prompt you to enter your Google Cloud project's credentials. Then, you'll be prompted to grant read-only access to your Drive™ files
- Drag&drop files/folders from the Drive Browser window to Project window to download them
- Right click a folder and select View Activity to see the recent changes made in that folder
- Right click the Drive Browser tab and select Help to learn more