Skip to content

Githubxplabs/FairyGUI-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FairyGUI Unity SDK

A flexible UI framework for Unity3D, working with the FREE professional Game UI Editor: FairyGUI Editor.
Download the editor from here: www.fairygui.com

FairyGUI UI编辑器 操作简单,使用习惯与Adobe系列软件保持一致,美术设计师可以轻松上手。在编辑器即可组合各种复杂UI组件,以及为UI设计动画效果,无需编写任何代码。可一键导出到Unity,Starling,Egret, LayaAir,Flash等多个主流应用和游戏平台。 下载UI编辑器:www.fairygui.com

Get Started

  • Examples.Unity4
    如果你第一次探索FairyGUI,强烈建议你从Examples工程开始。这是适用于Unity4.x版本的工程(这里使用的Unity版本是4.6.6)。

  • Examples.Unity5
    如果你第一次探索FairyGUI,强烈建议你从Examples工程开始。这是适用于Unity5.x版本的工程(这里使用的Unity版本是5.2.1)。

  • Source
    这里是FairyGUI的源码,如果用于新的项目,这里都是必需的文件。另外,你还需要放置DOTween的DLL。
    这里的源码和着色器都是Unity所有版本通用的。

  • Assembly
    如果你喜欢使用DLL形式的插件,从这里可以获得编译好的版本。使用DLL可以使你的工程更加干净,但请注意按照Unity版本选用不同的二进制文件。 另外,着色器请从Source里导入。

  • LuaSupport
    FairyGUI对Lua十分友好,如果你使用Lua开发Unity游戏,这里为你准备了非常便利的支持。

Learn

  • 下载FairyGUI编辑器。
  • 下载Examples工程,浏览一遍FairyGUI的例子。
  • 解压Examples工程UIProject目录下的UIProject.zip,使用FairyGUI编辑器打开,结合例子浏览一遍UI工程。
  • 观看视频教程:FairyGUI游戏UI开发基础
  • 阅读文字教程:FairyGUI教程
  • 进群与小伙伴一起交流:434866637

License

MIT 你可以自由使用FairyGUI在你的商业和非商业项目。
如果觉得FairyGUI好用,请在Unity商店购买支持作者。Unity AssetStore

Version History

1.5.3

  • FIXED: A Bug in multi-language file parsing.
  • FIXED: Failed to change scroll positions in onScroll event handler.
  • IMPROVE: Tween effects now available for virtual lists.
  • IMPROVE: Access input event is allowed in onItemClick event handler.

1.5.2

  • IMPROVE: Optimize fairy batching.
  • NEW: Add GComboBox.UpdateDropdownList.
  • FIXED: Mistake to hide objects when using stencil mask.

1.5.1

  • NEW: Add InputEvent.button for pc platforms.
  • FIXED: Text clipping.
  • FIXED: UIPanel/UIPainter bug of handling GameObject enable/disable.

1.5.0

  • NEW: Add IOS emoji input support
  • IMPROVE: Virtual list now supports seperate item height and resource.

1.4.4

  • NEW: Add GObject.pixelSnapping
  • NEW: Add ScrollPane.inertiaDisabled

1.4.3

  • NEW: Add gradient text support.
  • NEW: Add GList.scrollItemToViewOnClick.
  • NEW: Add DynamicFont.customBoldAndItalic.
  • FIXED: GTextInput.maxLength.
  • IMPROVE: Update DragDropManager to support custom loader.

1.4.2

  • FIXED: A UI Scale bug.
  • IMPROVE: Gear handling.

1.4.1

  • NEW: Add text shadow support.
  • NEW: Add anchor support.

1.4.0

  • NEW: Add GObject.BlendMode.
  • NEW: Add GObject.Filter.
  • NEW: Add GObject.Skew.

1.3.3

  • NEW: Add gesture support

1.3.2

  • NEW: Add free mask support.

1.3.1

  • NEW: Add Tween delay to gears.
  • FIX: GTextInput bug.
  • IMPROVE: Remove white space in shader file name.

1.3.0

  • NEW: New UIPainter component. Curve UI now supported.
  • NEW: New list feature: page mode.
  • NEW: New render order feature for GComponent: GComponent.childrenRenderOrder.
  • NEW: Html parsing enhanced.
  • NEW: Add Window.bringToFontOnClick and UIConfig.bringWindowToFrontOnClick.
  • NEW: Add GTextInput.keyboardType
  • REMOVE: GObject.SetPivotByRatio. Use SetPivot instead.

1.2.3

  • NEW: Add UIConfig.allowSoftnessOnTopOrLeftSide
  • IMPROVE: UI Shaders.
  • IMPROVE: Add GImage/GLoader/GMovieClip.shader/material

1.2.2

  • NEW: Add "FairyGUI/UI Config" Component
  • FIX: Pixel perfect issues.
  • FIX: Change GMovieClip to keep its speed even time scale changed.

1.2.1

  • NEW: Sort UIPanel by z order is supported. See Stage.SortWorldSpacePanelsByZOrder.
  • IMPROVE: Image FillMethod implementation. FillImage shader is removed.
  • IMPROVE: Shader optimization.

1.2.0

  • NEW: Added editor extensions: UIPanel/UIScaler/StageCamera.
  • NEW: Added FillMethod to image/loader.
  • IMPROVE: Refactor shaders.
  • IMPROVE: Refactor some classes.
  • REMOVE: StageNode. Use UIPanel instead.
  • REMOVE: Stage prefab is removed, you don't need to put this into scene now.

1.1.0

  • NEW: Added virtual list and loop list support. See GList.SetVirutal/GList.SetVirtualAndLoop
  • NEW: Added StageNode. For displaying UI in perspective camera.
  • NEW: Added GObject.SetPivotByRatio.
  • FIX: GTextField.maxLength now working correctly.
  • REMOVE: MiniStage. Use StageNode instead.
  • REMOVE: GComponent.onScroll. Use GComponent.scrollPane.onScroll instead.

1.0.3

  • NEW: Now you can have different scrollbar styles for each component.
  • NEW: Added fixed grip size option for scrollbar.
  • NEW: Added tween value behavior for progressbar.
  • NEW: Added Transition.playReverse.
  • FIX: Scroll event bug.
  • FIX: Large moveclip performance.

1.0.2

  • NEW: Added Controller.autoRadioGroupDepth (UI Editor function)
  • NEW: Added GTextInput.promptText (UI Editor function)
  • FIX: Change to create MobileInputAdapter statically to avoid il2cpp problem.

1.0.1

  • NEW: Added EventBridge to improve Event system.
  • NEW: Added Container.touchChildren.
  • FIX: RenderingOrder will now handle properly when display list changing frequently.
  • FIX: Use GRoot.scaleX/Y for content scaling, removed the redundant code.

About

A flexible UI framework for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.9%
  • GLSL 5.0%
  • Lua 1.1%