Favourites
Favourites copied to clipboard
Unity Favourites Panel
In FavouritesTreeView.cs this line results in an exception. `PropertyInfo prop = asm.GetType("UnityEditorInternal.EditorResourcesUtility").GetProperty("folderIconName", (BindingFlags.Static | BindingFlags.Public));` `NullReferenceException: Object reference not set to an instance of an object FavouritesEd.FavouritesTreeView.FolderIconName () (at Assets/Favourites/Editor/FavouritesTreeView.cs:296)...
Hi. This PR fixes the following issues: - #4 - #3 I have tested it with Unity versions 2020.3.40 and 2021.3.22.
Just a heads up that in unity 2018 the type is found in: ```csharp asm.GetType("UnityEditor.Experimental.EditorResources"); ``` Not `UnityEditorInternal.EditorResourcesUtility` where it used to be looking.
This looks great! Thanks for sharing. There's a typo in the name of one file: "FavouritesCategroy.cs"
