This is an extension project for the new Unity UI system which can be found at: Unity UI Source
We've disabled Anonymous issue for creation for now, as it's making it extreemely hard to provide feedback and help to users. Please ensure you logon with your Bitbucket account when raising issues.
If you don't want to do that, then reach out to us on Gitter
For more info, here's a little introduction video for the project:
You can follow the UI Extensions team for updates and news on:
Also, come chat live with the Unity UI Extensions community on Gitter here: UI Extensions Live Chat
In this repository is a collection of extension scripts / effects and controls to enhance your Unity UI experience. These scripts have been gathered from many sources, combined and improved over time.
The majority of the scripts came from the Scripts thread on the Unity UI forum here
You can either download / fork this project to access the scripts, or you can also download these pre-compiled Unity Assets, chock full of goodness for each release:
For the 2.0 release, we have expanded where you can download the UnityPackage asset and widened the options to contribute to the project.
I will still stress however, contribution is optional. The asset / code will always remain FREE
|Grab from Itchio||Obtain via Union Assets||Support through Patreon|
Still available on the BitBucket site if you prefer
To view previous releases, visit the release archive
If you wish to further support the Unity UI Extensions project itself, then you can either subsidise your downloads above, or contribute direct using the PayPal link below. All funds go to support the project, no matter the amount, donations in code are also extremely welcome :D
(PayPal account not required and you can remain anonymous if you wish)
To get started with the project, here's a little guide:
Update 2.0 - The update so big they had to name it twice
Be sure to logon to the new Gitter Chat site for the UI Extensions project, if you have any questions, queries or suggestions Much easier that posting a question / issue on YouTube, Twitter or Facebook :D
New / updated features
- Major updates to the Line renderer for texture and positioning support, inc Editor support
- Line Renderer also includes "dotted" line support and the ability to increase the vertex count
- Reorderable list now also works in Screenspace-Camera & Worldspace
- H&V Scroll Snap controls now support scrollbars
- Minor updates to the Gradient 2 control
- Minor updates to all dropdown controls to manage control startup
- Update UI Particle Renderer with new updates, including Texture Sheet animation support
- New Selectable Scalar
- New MonoSpacing text effect
- New Multi-Touch Scrollrect support
- New UI Grid Renderer (handy if you want a UI grid background)
- New CoolDownButton control (adds a timer between button clicks)
- New Curly UI - for those who like their UI Bendy
- New Fancy Scroll View - A programmatic scroll view
- New UI Line connector control - extends line renderer to draw lines between UI Objects
- New Radial Slider control - for those who like their sliders to curve
- New Stepper control - a +/- control similar to that found on iOS
- New Segmented Control - A button array control similar to that found on iOS
- New UIHighlightable control - just in case the user wasn't sure where they were
Examples / Examples / Examples
Finally added some proper examples, especially for the newer controls. These can be found in the Examples folder (which can be safely deleted if you wish)
- ColorPicker - shows the Color Picker UI in both SS and WS
- ComboBox - shows all the different combo box controls
- Cooldown - several example implementations of the cooldown button control using Unity image effects and SAUIM
- CurlyUI - shows off the CurlyUI control
- FancyScrollView - the only REAL way to understand this programmatic control (direct from the contributor)
- HSS-VSS-ScrollSnap - several working examples of the HSS/VSS scroll snaps (not ScrollSnap or FancyScrollView), including a full screen variant
- MenuExample - A demo menu implementation showing off the new MenuManager control
- Radial Slider - Just keep on sliding
- ReorderableList - Several examples of the re-orderable list in action, complete with managed drag / drop features
- ScrollConflictManager - Making ScrollRects get along
- SelectionBox - The RTS selector in action, showing examples of selecting 2D and 3D objects
- Serialisation - Unit test case examples for the serialisation components
- TextEffects - All the Text effects and shaders in one easy to view place
- UIlineRenderer - Several demos / examples for using the Line Renderer and UI Line connector controls
- UIVerticalScrollerDemo - A full screen example of a UIVertical Scroller implementation.
- H&V Scroll Snap Next/Previous Button interactable handler (only enables when there is a child to move to)
- H&V Scroll Snap Swipe logic updated and now includes scaling support
- Editor options for non-drawing graphic control
- Events in ComboBox, Dropdown and autocomplete controls updated to use UI events
- UIFlippable "Argument out of Range" bigfix (pesky component orders with effects)
- All primitive controls will now redraw when enabled in code
- Autocomplete has two lookup text methods now, Array and Linq
- Line renderer pivot fix (now respects the pivot point)
- TextPic rendering and event updates
- Minor tweaks to the UIParticle system to remove "upgrade" errors. Still needs a rework tbh
- Clean up of all unnecessary usings (swept under the rug)
Serialisation functionality has been removed due to several incompatibilities between platforms, suggest the UniversalSerialiser as an alternative. May bring back if there is demand. (or copy out the source from the previous release)
With this being a major version update, it is recommended to remove the old UI Extensions folder before importing the new asset.
For the full release history, follow the below link to the full release notes page.
There are almost 70+ extension controls / effect and other utilities in the project which are listed on the following page:
|TextPic||InputFocus||Box Slider||CooldownButton||Segmented Control|
|Horizontal Scroll Snap||Vertical Scroll Snap||Flow Layout Group||Radial Layout||Tile Size Fitter|
|Scroll Snap (alt implementation)||Reorderable List||UI Vertical Scroller||Curved Layout||Table Layout|
|Best Fit Outline||Curved Text||Gradient||Gradient2||Letter Spacing|
|UIHighlightable||Menu Manager||Pagination Manager|
More to come
Either clone / download this repository to your machine and then copy the scripts in, or use the pre-packaged .UnityPackage for your version of Unity and import it as a custom package in to your project.
Got a script you want added? Then just fork the bitbucket repository and submit a PR. All contributions accepted (including fixes) Just ensure The header of the script matches the standard used in all scripts The script uses the Unity.UI.Extensions namespace so they do not affect any other developments * (optional) Add Component and Editor options where possible (editor options are in the Editor\UIExtensionsMenuOptions.cs file)
All scripts conform to the BSD license and are free to use / distribute. See the LICENSE file for more information
All these scripts were put together for my latest book Unity3D UI Essentials Check out the page on my blog for more details and learn all about the inner workings of the new Unity UI System.
As this repo was created to support my new Unity UI Title "Unity 3D UI Essentials", in the downloads section you will find two custom assets (SpaceShip-DemoScene-Start.unitypackage and RollABallSample-Start.unitypackage). These are just here as starter scenes for doing UI tasks in the book.
I will add more sample scenes for the UI examples in this repository and detail them above over time.
Unity UI Extensions Unity 5.2 Asset <- 5.2.0 - 5.2.1 base releases ONLY
Unity UI Extensions Unity 5.3 (5.2.1P+) Asset <- use this for 5.2.1P+ releases
Note To retain 5.2 compatibility in the 5.3 package, you will see two warnings related to:
`UnityEngine.UI.InputField.onValueChange' is obsolete.This has no effect on the package working in 5.4 plus and is only there to maintain backwards compatibility. We will look to update/remove this in a future release, likely after 5.4.
If you have any concerns, feel free to update your code in your project to add the missing "d". Unity have ensured it still works as they have mapped the API change for now.