All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams
Documentation · Quick Start · QQ Group: 467608841 / 233840761
FairyGUI for Unity, repackaged for GameFrameX. FairyGUI is a cross-platform UI editor and UI framework.
- Added Unity Package Manager support
- Added
FairyGUICroppingHelperanti-stripping script - Added
link.xmlfor strip filtering - Fixed bug where async asset bundle loading had no callback
- Removed the inline WeChat / Douyin mini-game keyboard bridges and the
WECHAT_MINI_GAME/DOUYIN_MINI_GAMEmacros (6.0.0 breaking change: back to a pure UI package with zero mini-game SDK dependencies); mini-game keyboard adaptation now goes through the operationkeyboard.fairygui binding package (all four platforms: WeChat / Alipay / Kuaishou / Douyin, see migration notes below) - Added pixelation feature for image pixelation effects
As of 6.0.0 Fairygui.Runtime no longer inlines any mini-game keyboard adaptation (the former GTextInputWeChat / GTextInputDouYin classes, the Wx / StarkWebGL assembly references and the WECHAT_MINI_GAME / DOUYIN_MINI_GAME macros are all removed). Projects relying on the inline bridges migrate as follows (behavior-equivalent, Chinese input included):
- Remove the
ENABLE_WECHAT_MINI_GAME/ENABLE_DOUYIN_MINI_GAMEscripting define symbols from your project - Install the binding package
com.gameframex.unity.operationkeyboard.fairygui(probes this package via versionDefines and binds on discovery; focus attaches / blur detaches with zero panel changes) - Install the matching channel package:
com.gameframex.unity.operationkeyboard.wechatminigame/.douyinminigame/.alipayminigame/.kuaishouminigame(with no channel registered the facade is a no-op on Editor / native platforms and the native keyboard path stays intact)
Add the macro ENABLE_GAMEFRAMEX_FAIRYGUI_PIXELATED in Unity Project Settings:
Edit > Project Settings > Player > Scripting Define Symbols
- FairyGUI-Image.shader
Adjust the _PixelSize parameter in the shader:
- Larger value: smaller pixel blocks (finer)
- Smaller value: larger pixel blocks (coarser)
Recommended values:
- Slight pixelation: 64-128
- Medium pixelation: 32-64
- Noticeable pixelation: 16-32
- Strong pixelation: 8-16
- Extreme pixelation: 4-8
- Recompile the project after modifying macro definitions
- No performance overhead when the macro is not defined
- Text pixelation may affect readability - use with caution
FairyGUI is a UI middleware for many game engines. Download Editor
In terms of rendering efficiency, FairyGUI uses a unique FairyBatching technology for DrawCall optimization, which is more efficient and easier to control than traditional optimization techniques used by NGUI and UGUI.
FairyGUI has built-in support for common UI pain points such as mixed text and graphics (including text with animation), emoji input, virtual lists, loop lists, pixel-level click detection, curved UI, gestures, particles and models interleaved with UI, typewriter effects, and more.
FairyGUI also encapsulates all input methods - mouse, single touch, multi-touch, and VR controller - so developers can handle interactions with the same code.
Choose one of the following methods:
-
Edit your Unity project's
Packages/manifest.jsonand add thescopedRegistriessection:{ "scopedRegistries": [ { "name": "GameFrameX", "url": "https://gameframex.upm.alianblank.uk", "scopes": [ "com.gameframex" ] } ], "dependencies": { "com.gameframex.unity.fairygui.unity": "6.0.0" } }scopescontrols which packages are resolved through this registry. Only packages whose names start withcom.gameframexwill be fetched from it. -
Add to
manifest.jsondependencies:{ "com.gameframex.unity.fairygui.unity": "https://github.com/gameframex/com.gameframex.unity.fairygui.unity.git" } -
Use Package Manager in Unity with Git URL:
https://github.com/gameframex/com.gameframex.unity.fairygui.unity.git -
Clone the repository into your Unity project's
Packagesdirectory. It will be loaded automatically.
- QQ Group: 467608841 / 233840761
See Releases for changelog.
| Package | Description |
|---|---|
| (无) | - |
See LICENSE.md for license information.