Skip to content

Commit 8e855c8

Browse files
committed
[增加] 启动FGUI的宏定义的识别
1 parent f0c6f70 commit 8e855c8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Editor/UITextureAssetPostprocessor.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using GameFrameX.Runtime;
1+
#if ENABLE_UI_FAIRYGUI
2+
3+
using GameFrameX.Runtime;
24
using UnityEditor;
35

46
namespace GameFrameX.UI.FairyGUI.Editor
@@ -22,8 +24,8 @@ void OnPreprocessTexture()
2224

2325
textureImporter.alphaSource = TextureImporterAlphaSource.FromInput;
2426
textureImporter.alphaIsTransparency = true;
25-
2627
}
2728
}
2829
}
29-
}
30+
}
31+
#endif

0 commit comments

Comments
 (0)