8870e4c78c | ||
---|---|---|
Documentation~ | ||
Editor | ||
Examples~@3e7049dfc3 | ||
Runtime | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG.md | ||
CHANGELOG.md.meta | ||
Editor.meta | ||
LICENSE.md | ||
LICENSE.md.meta | ||
README.md | ||
README.md.meta | ||
Runtime.meta | ||
package.json | ||
package.json.meta |
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:
You can follow the UI Extensions team for updates and news on:
Twitter / Facebook / YouTube
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 - 2019.4 (aka 2.2)
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 assets / code will always remain FREE
Grab from Itchio | Obtain via Union Assets | Support through Patreon |
Still available to download 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 using the links below.
All funds go to support the project, no matter the amount. Donations in code are also extremely welcome
(PayPal account not required and you can remain anonymous if you wish)
Getting Started
To get started with the project, here's a little guide:
Updates:
Release 2019.4 - (v2.2) - Back from the future
It's been a long year since the last official release of the Unity UI Extensions project and WOW, have there been a lot of ups and downs. Big thanks to the community for their support of the project whether that was funds, code or even just testing and helping to iron out some pesky bugs.
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
- New UPM deployment for Unity 2019, 2018 will still need to use the asset packages due to Unity compatibility issues.
- Updated the project to the new Unity packaging guidelines, including separating out the examples to a separate package.
- Many line drawing updates, including the ability to draw using a mouse (check the examples)
- Scroll Snaps (HSS/VSS) now have a "Hard Swipe" feature to restrict movement to a single page for each swipe
- Scroll Snaps have also been updated to work better with the UIInfiniteScroll control
- New Unity Card UI controls thanks to @RyanslikeSoCool
- Update to the Fancy Scroll controls with even more added fanciness
- Several updates to adopt newer Unity standards in the controls to ensure full forwards and backwards compatibility
Examples / Examples / Examples
Examples now have their own package, this simplifies their use and deployment. Especially in 2019 with the UPM deployment.
- Refreshed all examples for Unity 2019
- New Card UI Examples to supplement the new controls
- New Infinite Scroll Snap example
- Fancy Scroll view updated with 2 new examples
- New particle system example, demonstrating programmatic control of the particle system
Fixes
- Mouse position use updated in
- RadialSlider
- ColorSampler
- TiltWindow
- Check compiler warnings (#197)
- Line Renderer click to add lines (#183)
- ScrollSnap Swiping options - hard fast swipe (#176)
- Shader Loading issue / UIParticleSystem (#229)
- Issue where Menu Prefabs would be disabled instead of their Clones (#210)
- Check ScrollSnapBase update (#265)
- UIInfiniteScroller support for VSS updated and fixes
- Fix to allow radial slider to start from positions other than left
- Fix UI Particles: Texture sheet animation + Random row(#256)
- Fix for wandering ScrollSnap controls due to Local Positioning drift
- Divide By Zero fix for Gradient (#58)
Known issues
No new issues in this release, but check the issues list for things we are currently working on:
Upgrade Notes
Due to the restructure of the package to meet Unity's new package guidelines, we recomment Deleting the current Unity UI Extensions folder prior to importing the new package
For Unity 2019 users using the new UPM deployment, be sure to delete the existing folder in your assets folder before adding the new package to avoid conflict
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 Scroll Snap
UI Extensions controls list
Controls | |||
---|---|---|---|
Accordion | ColorPicker | Selection Box | UI Flippable |
AutoComplete ComboBox | DropDown List | BoundToolTip | UIWindowBase |
TextPic | Input Focus | Box Slider | Cooldown Button |
Stepper | Range Slider | Radial Slider | MultiTouch Scroll Rect |
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 | Card UI | Scroll Position Controller | |
Effects | |||
---|---|---|---|
Best Fit Outline | Curved Text | Gradient | Gradient2 |
NicerOutline | RaycastMask | UIFlippable | UIImageCrop |
CylinderText | UIParticleSystem | CurlyUI | Shine Effect |
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?
As of Unity 2019, there are now two paths for getting access to the Unity UI Extensions project:
- Unity 2019 or higher The recommended way to add the Unity UI Extensions project to your solution is to use the Unity package Manager. Simply use the Unity Package Manager to reference the project and install it.
Alternatively, you can also use the pre-compiled Unity packages if you wish, however, UPM offers full versioning support to allow you to switch versions as you wish.
- Unity 2018 or lower The pre-compiled Unity assets are the only solution for Unity 2018 or earlier due to the changes in the Unity UI framework in Unity made for 2019. 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 should match 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 BSD3 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
Please see the full downloads list for all previous releases and their corresponding download links.