commit
f5360234bd
|
@ -105,9 +105,9 @@ namespace UnityEngine.UI.Extensions
|
||||||
|
|
||||||
if (GUILayout.Button("Reference CUI component for curves"))
|
if (GUILayout.Button("Reference CUI component for curves"))
|
||||||
{
|
{
|
||||||
Undo.RecordObject(script, "Reference Reference CUI");
|
Undo.RecordObject(script, "Reference CUI");
|
||||||
Undo.RecordObject(script.RefCurves[0], "Reference Reference CUI");
|
Undo.RecordObject(script.RefCurves[0], "Reference CUI");
|
||||||
Undo.RecordObject(script.RefCurves[1], "Reference Reference CUI");
|
Undo.RecordObject(script.RefCurves[1], "Reference CUI");
|
||||||
EditorUtility.SetDirty(script);
|
EditorUtility.SetDirty(script);
|
||||||
|
|
||||||
script.ReferenceCUIForBCurves();
|
script.ReferenceCUIForBCurves();
|
||||||
|
@ -115,7 +115,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
script.Refresh();
|
script.Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
EditorGUILayout.HelpBox("Auto set the curves' control points by refencing another CUI. You need to set Ref CUI Graphic (e.g. CUIImage) first.", MessageType.Info);
|
EditorGUILayout.HelpBox("Auto set the curves' control points by referencing another CUI. You need to set Ref CUI Graphic (e.g. CUIImage) first.", MessageType.Info);
|
||||||
|
|
||||||
EditorGUI.EndDisabledGroup();
|
EditorGUI.EndDisabledGroup();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/// Credit dakka
|
/// Credit dakka
|
||||||
/// Sourced from - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/#post-1752415
|
/// Sourced from - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/#post-1752415
|
||||||
/// Notes - Mod from Yilmaz Kiymaz's editor scripts presentation at Unite 2013
|
/// Notes - Mod from Yilmaz Kiymaz's editor scripts presentation at Unite 2013
|
||||||
/// Updated ddreaper - removed Linq use, not required.
|
/// Updated simonDarksideJ - removed Linq use, not required.
|
||||||
|
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
canvasGroups[i].interactable = false;
|
canvasGroups[i].interactable = false;
|
||||||
canvasGroups[i].blocksRaycasts = false;
|
canvasGroups[i].blocksRaycasts = false;
|
||||||
}
|
}
|
||||||
//If activated and initially deactive
|
//If activated and initially deactivate
|
||||||
else if (active && !initialActive)
|
else if (active && !initialActive)
|
||||||
{
|
{
|
||||||
//Deactivate all others and activate this
|
//Deactivate all others and activate this
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEditor.AnimatedValues;
|
using UnityEditor.AnimatedValues;
|
||||||
|
|
||||||
// For manteinance, every new [SerializeField] variable in Scroller must be declared here
|
// For maintenance, every new [SerializeField] variable in Scroller must be declared here
|
||||||
|
|
||||||
namespace UnityEngine.UI.Extensions
|
namespace UnityEngine.UI.Extensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/// Credit setchi (https://github.com/setchi)
|
/// Credit setchi (https://github.com/setchi)
|
||||||
/// Sourced from - https://github.com/setchi/FancyScrollView
|
/// Sourced from - https://github.com/setchi/FancyScrollView
|
||||||
|
|
||||||
// For manteinance, every new [SerializeField] variable in ScrollPositionController must be declared here
|
// For maintenance, every new [SerializeField] variable in ScrollPositionController must be declared here
|
||||||
|
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
|
|
|
@ -710,7 +710,7 @@ namespace UnityEditor.UI
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Accordian
|
#region Accordion
|
||||||
[MenuItem("GameObject/UI/Extensions/Accordion/Accordion Group", false)]
|
[MenuItem("GameObject/UI/Extensions/Accordion/Accordion Group", false)]
|
||||||
static public void AddAccordionGroup(MenuCommand menuCommand)
|
static public void AddAccordionGroup(MenuCommand menuCommand)
|
||||||
{
|
{
|
||||||
|
|
2
Examples
2
Examples
|
@ -1 +1 @@
|
||||||
Subproject commit 4878f8d7d74c72a334b6204dffc9cb117a9463f2
|
Subproject commit 8f7a9de774bcf64109a5e1362650e9f37572588f
|
118
README.md
118
README.md
|
@ -23,17 +23,17 @@ In this repository is a collection of extension scripts / effects and controls t
|
||||||
|
|
||||||
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:
|
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](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads) - 2019.1 (aka 2.1)
|
# [Download - 2019.4 (aka 2.2)](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads)
|
||||||
|
|
||||||
We have expanded where you can download the UnityPackage asset and widened the options to contribute to the project.
|
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**
|
> I will still stress however, ***contribution is optional***. **The assets / code will always remain FREE**
|
||||||
|
|
||||||
| [![Download from Itch.IO](https://bytebucket.org/UnityUIExtensions/unity-ui-extensions/wiki/SiteImages/itchio.png)](https://unityuiextensions.itch.io/uiextensions2-0 "Download from Itch.IO") | [![Download from Itch.IO](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/SiteImages/unionassets.png)](https://unionassets.com/unity-ui-extensions "Download from Union Assets") | [![Download from Itch.IO](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/SiteImages/patreon.jpg)](https://www.patreon.com/UnityUIExtensions "Support Unity UI Extensions on Patreon & download")|
|
| [![Download from Itch.IO](https://bytebucket.org/UnityUIExtensions/unity-ui-extensions/wiki/SiteImages/itchio.png)](https://unityuiextensions.itch.io/uiextensions2-0 "Download from Itch.IO") | [![Download from Itch.IO](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/SiteImages/unionassets.png)](https://unionassets.com/unity-ui-extensions "Download from Union Assets") | [![Download from Itch.IO](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/SiteImages/patreon.jpg)](https://www.patreon.com/UnityUIExtensions "Support Unity UI Extensions on Patreon & download")|
|
||||||
| :--- | :--- | :--- |
|
| :--- | :--- | :--- |
|
||||||
| [Grab from Itchio](https://unityuiextensions.itch.io/uiextensions2-0) | [Obtain via Union Assets](https://unionassets.com/unity-ui-extensions) |[Support through Patreon](https://www.patreon.com/UnityUIExtensions) |
|
| [Grab from Itchio](https://unityuiextensions.itch.io/uiextensions2-0) | [Obtain via Union Assets](https://unionassets.com/unity-ui-extensions) |[Support through Patreon](https://www.patreon.com/UnityUIExtensions) |
|
||||||
|
|
||||||
> Still available on the [BitBucket site](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/downloads/UnityUIExtensions-2019-1.unitypackage) if you prefer
|
> Still available to download on the [BitBucket site](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/downloads) if you prefer
|
||||||
|
|
||||||
To view previous releases, visit the [release archive](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads)
|
To view previous releases, visit the [release archive](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads)
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ To view previous releases, visit the [release archive](https://bitbucket.org/Uni
|
||||||
|
|
||||||
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.
|
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.
|
All funds go to support the project, no matter the amount. **Donations in code are also extremely welcome**
|
||||||
|
|
||||||
| | |
|
| | |
|
||||||
|---|---|
|
|---|---|
|
||||||
|
@ -62,12 +62,11 @@ To get started with the project, here's a little guide:
|
||||||
|
|
||||||
# [Updates:](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/ReleaseNotes/RELEASENOTES)
|
# [Updates:](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/ReleaseNotes/RELEASENOTES)
|
||||||
|
|
||||||
## Update 2019.1 - formally 2.1 - Going with the times
|
## Release 2019.4 - (v2.2) - Back from the future
|
||||||
|
|
||||||
Given that it's been a while since the last release and a fair few number of fixes have been introduced since the last update, it's only fair I get this point release out for the masses.
|
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.
|
||||||
This is only a point release and we are still working hard on the next full update
|
|
||||||
|
|
||||||
> Be sure to logon to the new Gitter Chat site for the UI Extensions project, if you have any questions, queries or suggestions
|
> Be sure to logon to the new [Gitter Chat](https://gitter.im/Unity-UI-Extensions/Lobby) 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
|
> Much easier that posting a question / issue on YouTube, Twitter or Facebook :D
|
||||||
>
|
>
|
||||||
|
@ -75,35 +74,42 @@ This is only a point release and we are still working hard on the next full upda
|
||||||
|
|
||||||
### New / updated features
|
### New / updated features
|
||||||
|
|
||||||
* Updated and tested with Unity 2018 / 2019
|
* New UPM deployment for Unity 2019, 2018 will still need to use the asset packages due to Unity compatibility issues.
|
||||||
* FancyScrollView updated with newer version (note breaking change)
|
* Updated the project to the new Unity packaging guidelines, including separating out the examples to a separate package.
|
||||||
* Added test version of a LineRender control using a List instead of an array
|
* Many line drawing updates, including the ability to draw using a mouse (check the examples)
|
||||||
* New CardUI layout control, for a snazzy flip card system
|
* Scroll Snaps (HSS/VSS) now have a "Hard Swipe" feature to restrict movement to a single page for each swipe
|
||||||
* New UI Circle Progress indicator control
|
* Scroll Snaps have also been udpated to work better with the UIInfiniteScroll control
|
||||||
|
* New Uniy Card UI controls thanks to @RyanslikeSoCool
|
||||||
|
* Update to the Fancy Scoll 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 / Examples / Examples
|
||||||
(All examples can be deleted without affecting the extensions)
|
Examples now have their own package, this simplifies their use and deployment. Especially in 2019 with the UPM deployment.
|
||||||
|
|
||||||
* Added example for CardUI
|
* Refreshed all examples for Unity 2019
|
||||||
* Added example for the LineRendererList experiment
|
* New Card UI Examples to supplement the new controls
|
||||||
* FancyScrollView examples updated to the new version
|
* New Infinite Scroll Snap example
|
||||||
* Example for new UICircle progress control
|
* Fancy Scroll view updated with 2 new examples
|
||||||
|
* New particle system example, demonstrating programmatic control of the particle system
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
* General clean up of build warnings
|
* Mouse position use updated in
|
||||||
* Refactored primitive controls to be cleaner
|
- RadialSlider
|
||||||
* Various HSS / VSS updates, mostly from the community
|
- ColorSampler
|
||||||
* ScrollConflictManager updated to work better with nested HSS/VSS
|
- TiltWindow
|
||||||
* UI Knob resolved to with screen space camera
|
* Check compiler warnings (#197)
|
||||||
* Fix for the menu system, which was disabling prefabs instead of the scene instance
|
* Line Renderer click to add lines (#183)
|
||||||
* Fixed shader in UIParticle System
|
* ScrollSnap Swiping options - hard fast swipe (#176)
|
||||||
* TextPic updated to support culling properly
|
* Shader Loading issue / UIParticleSystem (#229)
|
||||||
* Reorderable List updated with additional options
|
* Issue where Menu Prefabs would be disabled instead of their Clones (#210)
|
||||||
* Screenspace overlay support added to the Tooltip control
|
* Check ScrollSnapBase update (#265)
|
||||||
* UIParticle system now supports 3D rotation
|
* UIInfiniteScroller support for VSS updated and fixes
|
||||||
* UIVerticalScroller updated
|
* Fix to allow radial slider to start from positions other than left
|
||||||
* Radial slider updated with
|
* 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
|
### Known issues
|
||||||
No new issues in this release, but check the issues list for things we are currently working on:
|
No new issues in this release, but check the issues list for things we are currently working on:
|
||||||
|
@ -111,7 +117,9 @@ No new issues in this release, but check the issues list for things we are curre
|
||||||
* [UI Extensions Issue log](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues?status=new&status=open)
|
* [UI Extensions Issue log](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues?status=new&status=open)
|
||||||
|
|
||||||
## Upgrade Notes
|
## Upgrade Notes
|
||||||
No significant concerns, should be able to update over the 2.1 package. If upgrading prior to 2.1, we still recommend removing the UnityUIExtensions folder and then re-importing
|
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
|
## Release History
|
||||||
|
@ -134,10 +142,10 @@ There are almost 70+ extension controls / effect and other utilities in the proj
|
||||||
|
|
||||||
[Controls](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-controls)|||||
|
[Controls](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-controls)|||||
|
||||||
------|------|------|------|
|
------|------|------|------|
|
||||||
Accordion|ColorPicker|SelectionBox|UIFlippable|ComboBox
|
Accordion|ColorPicker|Selection Box|UI Flippable|ComboBox
|
||||||
AutoCompleteComboBox|DropDownList|BoundToolTip|UIWindowBase|UI_Knob
|
AutoComplete ComboBox|DropDown List|BoundToolTip|UIWindowBase|UI Knob
|
||||||
TextPic|InputFocus|Box Slider|CooldownButton|Segmented Control
|
TextPic|Input Focus|Box Slider|Cooldown Button|Segmented Control
|
||||||
Stepper|Range Slider|||
|
Stepper|Range Slider|Radial Slider|MultiTouch Scroll Rect|
|
||||||
||||
|
||||
|
||||||
|
|
||||||
[Primitives](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-primitives)|||||
|
[Primitives](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-primitives)|||||
|
||||||
|
@ -150,14 +158,14 @@ UIPolygon||||
|
||||||
------|------|------|------|
|
------|------|------|------|
|
||||||
Horizontal Scroll Snap|Vertical Scroll Snap|Flow Layout Group|Radial Layout|Tile Size Fitter
|
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
|
Scroll Snap (alt implementation)|Reorderable List|UI Vertical Scroller|Curved Layout|Table Layout
|
||||||
FancyScrollView||||
|
FancyScrollView|Card UI|Scroll Position Controller||
|
||||||
||||
|
||||
|
||||||
|
|
||||||
[Effects](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-effect_components)|||||
|
[Effects](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-effect_components)|||||
|
||||||
------|------|------|------|
|
------|------|------|------|
|
||||||
Best Fit Outline|Curved Text|Gradient|Gradient2|Letter Spacing
|
Best Fit Outline|Curved Text|Gradient|Gradient2|Letter Spacing
|
||||||
NicerOutline|RaycastMask|UIFlippable|UIImageCrop|SoftAlphaMask
|
NicerOutline|RaycastMask|UIFlippable|UIImageCrop|SoftAlphaMask
|
||||||
CylinderText|UIParticleSystem|CurlyUI||
|
CylinderText|UIParticleSystem|CurlyUI|Shine Effect|Shader Effects
|
||||||
||||
|
||||
|
||||||
|
|
||||||
[VR Components](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-vr_components)|||||
|
[VR Components](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Controls#markdown-header-vr_components)|||||
|
||||||
|
@ -184,21 +192,32 @@ UIHighlightable|Menu Manager|Pagination Manager||
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
# [How do I get set up? ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/GettingStarted)
|
# [How do I get set up?](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/GettingStarted)
|
||||||
|
|
||||||
|
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](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/UPMInstallation) 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.
|
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 ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/ContributionGuidelines)
|
# [Contribution guidelines ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/ContributionGuidelines)
|
||||||
|
|
||||||
Got a script you want added? Then just fork the bitbucket repository and submit a PR. All contributions accepted (including fixes)
|
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
|
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
|
* 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)
|
* (optional) Add Component and Editor options where possible (editor options are in the Editor\UIExtensionsMenuOptions.cs file)
|
||||||
|
|
||||||
# [License ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/License)
|
# [License ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/License)
|
||||||
|
|
||||||
All scripts conform to the BSD license and are free to use / distribute. See the [LICENSE](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/License) file for more information
|
All scripts conform to the BSD3 license and are free to use / distribute. See the [LICENSE](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/License) file for more information
|
||||||
|
|
||||||
# [Like what you see? ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/FurtherInfo)
|
# [Like what you see? ](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/FurtherInfo)
|
||||||
|
|
||||||
|
@ -213,17 +232,4 @@ I will add more sample scenes for the UI examples in this repository and detail
|
||||||
|
|
||||||
# [Previous Releases](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads)
|
# [Previous Releases](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads)
|
||||||
|
|
||||||
* [Unity UI Extensions Unity 4.x Asset](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/downloads/UnityUIExtensions-4.x.unitypackage)
|
Please see the [full downloads list](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/Downloads) for all previous releases and their corresponding download links.
|
||||||
|
|
||||||
* [Unity UI Extensions Unity 5.1 Asset](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/downloads/UnityUIExtensions-5.1.unitypackage)
|
|
||||||
|
|
||||||
* [Unity UI Extensions Unity 5.2 Asset](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/downloads/UnityUIExtensions-5.2.unitypackage) <- 5.2.0 - 5.2.1 base releases ONLY
|
|
||||||
|
|
||||||
* [Unity UI Extensions Unity 5.3 (5.2.1P+) Asset](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/downloads/UnityUIExtensions-5.3.unitypackage) <- 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.
|
|
|
@ -2,6 +2,80 @@
|
||||||
This file contains the up to date release notes for each release of the UI Extensions project including release videos where required.
|
This file contains the up to date release notes for each release of the UI Extensions project including release videos where required.
|
||||||
|
|
||||||
----------------
|
----------------
|
||||||
|
## Update 2019.4 - 2.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](https://gitter.im/Unity-UI-Extensions/Lobby) 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](https://gitter.im/Unity-UI-Extensions/Lobby)
|
||||||
|
|
||||||
|
### 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 udpated to work better with the UIInfiniteScroll control
|
||||||
|
* New Uniy Card UI controls thanks to @RyanslikeSoCool
|
||||||
|
* Update to the Fancy Scoll 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:
|
||||||
|
|
||||||
|
* [UI Extensions Issue log](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues?status=new&status=open)
|
||||||
|
|
||||||
|
# [Installation Instructions](https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/wiki/GettingStarted)
|
||||||
|
|
||||||
|
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 to 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.
|
||||||
|
|
||||||
|
## Upgrade Notes
|
||||||
|
Due to the restructure of the package to meet Unity's new package guidelines, we recommend **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.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Update 2019.1 - formally 2.1 - Going with the times
|
## Update 2019.1 - formally 2.1 - Going with the times
|
||||||
|
|
||||||
Given that it's been a while since the last release and a fair few number of fixes have been introduced since the last update, it's only fair I get this point release out for the masses.
|
Given that it's been a while since the last release and a fair few number of fixes have been introduced since the last update, it's only fair I get this point release out for the masses.
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dae773db9d022de4b891928437a0c082
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -43,8 +43,8 @@ namespace UnityEngine.UI.Extensions
|
||||||
|
|
||||||
private ScrollRect _scrollRect;
|
private ScrollRect _scrollRect;
|
||||||
|
|
||||||
private List<string> _panelItems; //items that will get shown in the dropdown
|
private List<string> _panelItems; //items that will get shown in the drop-down
|
||||||
private List<string> _prunedPanelItems; //items that used to show in the dropdown
|
private List<string> _prunedPanelItems; //items that used to show in the drop-down
|
||||||
|
|
||||||
private Dictionary<string, GameObject> panelObjects;
|
private Dictionary<string, GameObject> panelObjects;
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
|
|
||||||
// fires when input text is changed;
|
// fires when input text is changed;
|
||||||
public SelectionTextChangedEvent OnSelectionTextChanged;
|
public SelectionTextChangedEvent OnSelectionTextChanged;
|
||||||
// fires when when an Item gets selected / deselected (including when items are added/removed once this is possible)
|
// fires when an Item gets selected / deselected (including when items are added/removed once this is possible)
|
||||||
public SelectionValidityChangedEvent OnSelectionValidityChanged;
|
public SelectionValidityChangedEvent OnSelectionValidityChanged;
|
||||||
// fires in both cases
|
// fires in both cases
|
||||||
public SelectionChangedEvent OnSelectionChanged;
|
public SelectionChangedEvent OnSelectionChanged;
|
||||||
|
@ -171,7 +171,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
catch (System.NullReferenceException ex)
|
catch (System.NullReferenceException ex)
|
||||||
{
|
{
|
||||||
Debug.LogException(ex);
|
Debug.LogException(ex);
|
||||||
Debug.LogError("Something is setup incorrectly with the dropdownlist component causing a Null Refernece Exception");
|
Debug.LogError("Something is setup incorrectly with the dropdownlist component causing a Null Reference Exception");
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
panelObjects = new Dictionary<string, GameObject>();
|
panelObjects = new Dictionary<string, GameObject>();
|
|
@ -49,7 +49,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
|
|
||||||
private ScrollRect _scrollRect;
|
private ScrollRect _scrollRect;
|
||||||
|
|
||||||
private List<string> _panelItems; //items that will get shown in the dropdown
|
private List<string> _panelItems; //items that will get shown in the drop-down
|
||||||
|
|
||||||
private Dictionary<string, GameObject> panelObjects;
|
private Dictionary<string, GameObject> panelObjects;
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
catch (System.NullReferenceException ex)
|
catch (System.NullReferenceException ex)
|
||||||
{
|
{
|
||||||
Debug.LogException(ex);
|
Debug.LogException(ex);
|
||||||
Debug.LogError("Something is setup incorrectly with the dropdownlist component causing a Null Refernece Exception");
|
Debug.LogError("Something is setup incorrectly with the dropdownlist component causing a Null Reference Exception");
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
panelObjects = new Dictionary<string, GameObject>();
|
panelObjects = new Dictionary<string, GameObject>();
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue