Skip to content

Commit

Permalink
Added 'Unstuck Compilation Pipeline' menu item to Drive Browser windo…
Browse files Browse the repository at this point in the history
…w (just in case)
  • Loading branch information
yasirkula committed Aug 26, 2021
1 parent a3ff4ac commit 313a765
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Plugins/DriveBrowser/FileBrowser/FileBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ void IHasCustomMenu.AddItemsToMenu( GenericMenu menu )
"- To refresh a folder's contents, right click the folder and select 'Refresh'\n" +
"- To switch Google accounts, click the 'Reauthenticate' button\n" +
"- Google documents aren't actual files and thus, their file sizes will be displayed as 0 bytes\n" +
"- In File Activity window, files highlighted in red color are permanently deleted and can't be downloaded", "Thanks!" );
"- In File Activity window, files highlighted in red color are permanently deleted and can't be downloaded\n" +
"- Asynchronous operations usually prevent code compilation until the operation is completed but if you feel like your code won't compile or " +
"Unity won't enter Play mode although all asynchronous operations are completed, click the 'Unstuck Compilation Pipeline' button", "OK" );
} );

menu.AddSeparator( "" );
Expand All @@ -134,6 +136,8 @@ void IHasCustomMenu.AddItemsToMenu( GenericMenu menu )
menu.AddSeparator( "" );

menu.AddItem( new GUIContent( "Clear Preview Cache" ), false, () => DriveAPI.ClearThumbnailCache() );

menu.AddItem( new GUIContent( "Unstuck Compilation Pipeline" ), false, () => HelperFunctions.UnlockAssemblyReload() );
}

// Serialize DriveAPI's Dictionaries in this EditorWindow's arrays
Expand Down

0 comments on commit 313a765

Please sign in to comment.