Go to file
Simon (Darkside) Jackson 8768fb6c8d Merge branch 'master' of https://bitbucket.org/UnityUIExtensions/unity-ui-extensions 2018-04-12 15:12:31 +01:00
Editor Improvements to UI and ColorPickerPresets inspector. 2018-03-10 21:52:45 -05:00
Examples Updated Radial Slider to user event Pointer position instead of Input.MousePos, allows multiple radials to be use on touch screens. 2018-04-12 15:12:17 +01:00
Resources Moved Shader folder under a Resources folder to resolve UI Particle system and other shader issues. 2018-03-22 18:09:48 +00:00
Scripts Merge branch 'master' of https://bitbucket.org/UnityUIExtensions/unity-ui-extensions 2018-04-12 15:12:31 +01:00
.gitignore Improvements on Color Picker: 2018-02-18 23:16:15 -05:00
Editor.meta Project tidy up 2016-07-08 11:45:58 +01:00
Examples.meta Project tidy up 2016-07-08 11:45:58 +01:00
LICENSE Updating License (again) to match Wiki, BSD license. 2018-01-09 15:36:25 +00:00
LICENSE.meta Auto-Updated to Unity 5.1.2f1 and fixed build errors. 2015-08-04 18:25:26 -04:00
README.md Updated Tumblr Link 2018-03-10 20:42:39 +00:00
README.md.meta Auto-Updated to Unity 5.1.2f1 and fixed build errors. 2015-08-04 18:25:26 -04:00
RELEASENOTES.md Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
RELEASENOTES.md.meta Patches added to HSS and VSS to include programatic support 2016-05-23 20:57:56 +01:00
Resources.meta Moved Shader folder under a Resources folder to resolve UI Particle system and other shader issues. 2018-03-22 18:09:48 +00:00
Scripts.meta Auto-Updated to Unity 5.1.2f1 and fixed build errors. 2015-08-04 18:25:26 -04:00
UnityUIExtensions.unitypackage Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
UnityUIExtensions.unitypackage.meta Pre-Release upload - tested and working 2016-12-31 17:01:49 +00:00
package.json Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
package.json.meta Slight reorg and addition of the following components: 2015-09-20 00:24:17 +01:00

README.md

README

This is an extension project for the new Unity UI system which can be found at: Unity UI Source

Check out the control demos on our Tumblr page

Intro

For more info, here's a little introduction video for the project:

View Intro Video

You can follow the UI Extensions team for updates and news on:

Twitter / Facebook / YouTube

Also, come chat live with the Unity UI Extensions community on Gitter here: UI Extensions Live Chat


What is this repository for?

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:

Download

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

Download from Itch.IO Download from Itch.IO Download from Itch.IO
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


Supporting the UI Extensions project

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)

>> Donate via PayPal <<


Getting Started

To get started with the project, here's a little guide:

View Getting Started Video


Updates:

Update 2.0 - The update so big they had to name it twice

View 2.0 update Video

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

UIExtensions Gitter Chanel

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.

Fixes

  • 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)

Known issues

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)

Upgrade Notes

With this being a major version update, it is recommended to remove the old UI Extensions folder before importing the new asset.


Release History

For the full release history, follow the below link to the full release notes page.

Release Notes


Controls and extensions listed in this project:

There are almost 70+ extension controls / effect and other utilities in the project which are listed on the following page:

Check out the control demos on our Tumblr page

UI Line Renderer UI Knob ScrollSnap
UI Line Renderer UI Knob Scroll Snap

UI Extensions controls list

Controls
Accordion ColorPicker SelectionBox UIFlippable
AutoCompleteComboBox DropDownList BoundToolTip UIWindowBase
TextPic InputFocus Box Slider CooldownButton
Stepper
Primitives
UILineRenderer UILineTextureRenderer UICircle DiamondGraph
UIPolygon
Layouts
Horizontal Scroll Snap Vertical Scroll Snap Flow Layout Group Radial Layout
Scroll Snap (alt implementation) Reorderable List UI Vertical Scroller Curved Layout
FancyScrollView
Effects
Best Fit Outline Curved Text Gradient Gradient2
NicerOutline RaycastMask UIFlippable UIImageCrop
CylinderText UIParticleSystem CurlyUI
VR Components
VRCursor VRInputModule
Input Modules
AimerInputModule GamePadInputModule
Additional Components
ReturnKeyTrigger TabNavigation uGUITools ScrollRectTweener
ScrollRectEx UI_InfiniteScroll UI_ScrollRectOcclusion UIScrollToSelection
switchToRectTransform ScrollConflictManager CLFZ2 (Encryption) DragCorrector
UI_TweenScale UI_InfiniteScroll UI_ScrollRectOcclusion NonDrawingGraphic
UIHighlightable Menu Manager Pagination Manager

More to come


How do I get set up?

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.

Contribution guidelines

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)

License

All scripts conform to the BSD license and are free to use / distribute. See the LICENSE file for more information

Like what you see?

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.

The downloads

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.

Previous 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.