Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 8e8eb75

Browse files
author
wanderer
committed
folder icon暂时只支持Windows
1 parent a58103a commit 8e8eb75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎GameFramework/Editor/FolderIcon/FolderIconExtensionEditor.cs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ public class FolderIconExtensionEditor
1111
{
1212
static FolderIconExtensionEditor()
1313
{
14+
//暂时只支持windows
15+
#if UNITY_EDITOR_WIN
1416
EditorApplication.projectWindowItemOnGUI += OnProjectWindowItemOnGUI;
17+
#endif
1518
}
1619

1720
private static void OnProjectWindowItemOnGUI(string guid, Rect selectionRect)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /