Commit Graph

80 Commits (v2.3.2-pre.5)

Author SHA1 Message Date
SimonDarksideJ b171b2c1c2 Added extra event on the AutoCompleteComboBox, to fire when an item in the list is selected, with its display name
Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/200
2023-11-26 15:26:11 +00:00
SimonDarksideJ a47d694796 Added argument to the UpdateLayout method for the HSS/VSS to move to a new starting page
Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/451
2023-11-26 15:00:36 +00:00
SimonDarksideJ 9c7a59c9f2 Update to force Enumerated start for Accordion elements
Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/455
2023-11-26 13:41:48 +00:00
SimonDarksideJ 5eaf48d256 Made deprecated components obsolete rather than just remove to reduce errors for upgrades 2023-11-26 09:52:36 +00:00
SimonDarksideJ 162e4d3ed9 Updated implementations to handle 2023 support, with 2023 moving in to public release 2023-11-23 20:32:53 +00:00
SimonDarksideJ 54d951350a Merge branch 'release' of https://github.com/Unity-UI-Extensions/com.unity.uiextensions into development 2023-10-05 20:49:48 +01:00
Simon (Darkside) Jackson 1464ae97bd
fix missing using 2023-10-05 20:43:41 +01:00
SimonDarksideJ 250befb08c Merge branch 'release' of https://github.com/Unity-UI-Extensions/com.unity.uiextensions into development 2023-10-05 20:36:27 +01:00
SimonDarksideJ 15cb41b838 deprecate CylinderText in 2022 2023-10-05 20:34:35 +01:00
Simon (Darkside) Jackson 289a50d796
Minor review corrections 2023-10-05 16:53:04 +01:00
Robert Wartenberg 95f1956f48 fix: SetActive() takes care of btn. Add: ded. Hide funct 2023-09-25 14:31:45 +02:00
Robert Wartenberg 2a59f37653 fix: tabs vs. spaces in DropDownList { } 2023-09-25 14:31:41 +02:00
Robert Wartenberg c06cd38081 add: public accessable reset function 2023-09-25 14:31:37 +02:00
Simon (Darkside) Jackson 70f98806e9
Merge branch 'development' into release 2023-07-22 16:11:29 +01:00
Simon (Darkside) Jackson 0dd1e6d7bb
Merge branch 'release' into feature/UIParticleSystem_use_lengthScale 2023-07-22 16:10:37 +01:00
SimonDarksideJ 9fbcd39b88 Deprecated Text Effects with Unity 2022 as they are incompatible with TextMeshPro 2023-07-09 16:48:55 +01:00
wanliyun 6a68933e48 Fix Bug!NeicerOutline color.a Lose when m_UseGraphicAlpha is true!
if (m_UseGraphicAlpha)
    newColor.a = (byte)((newColor.a * verts[i].color.a) / 255);  //newColor's type cannot be Color.Should be Color32.
2023-07-06 13:20:50 +08:00
eldar.zakaryaev 11de683781 Fix UIParticleSystem does not correspond to runtime lengthScale change 2023-07-05 11:24:50 +03:00
eldar.zakaryaev 2a925fcf65 Add using lengthScale to UIParticleSystem 2023-07-05 11:11:44 +03:00
adibacco 34e3f82395
Update UILineRenderer.cs
There is no need to draw either points or segments. Both should be drawn.
2023-06-28 23:00:16 +02:00
SimonDarksideJ 796f66c310 Updated LineRenderer and UILIneConnector implementations to both be safer and include warning about placing a UILineRenderer at any other position than 0,0,0. 2023-06-17 18:33:22 +01:00
SimonDarksideJ e7babe0dd6 Updated HSS/VSS to ensure events fire correctly if the control is dragged but not moved:
Resolves: #186
2023-06-17 17:16:31 +01:00
Simon (Darkside) Jackson 7becb9cae4
Merge branch 'development' into linerenderer_points 2023-03-29 14:15:48 +01:00
Victor 7127f8bca7 chore: make CalculatePointOnCurve public 2023-03-20 13:43:43 +01:00
Victor ba7b21fdae feat: add CalculatePointOnCurve for linerenderer 2023-03-20 13:42:33 +01:00
victornor 5e7282c27d
fix: GetPosition when Segments is null 2023-03-20 13:33:14 +01:00
SimonDarksideJ 02da81ef28 Resolves an issue where the last line in a flow layout group would overflow the rect bounds
Fixes - https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/432
2023-03-12 11:44:50 +00:00
Dino Fejzagić 8fc9e8aba5
Update ResetSelectableHighlight.cs 2023-03-01 11:32:14 +01:00
Simon Jackson d64ff2d3f0 Update patch following Asset Store publish 2023-02-07 16:21:38 +00:00
Simon (Darkside) Jackson 5114d0c050
patchfix - erroneous using? 2023-02-07 15:04:15 +00:00
Simon (Darkside) Jackson 89403a2611
Release 2.3.0 (#429)
* Package upver for Development

* Added OnHighlightChanged and OnPressChanged events
Added getters and setters for Highlighted and Pressed

* Patch fix for UILineRenderer

* Update package preview release

* Resolves issue where the lower range value would become stuck when moved to the max value position

Resolves: https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/381/cant-move-range-slider-if-low-is-moved-to

* Updated Infinite scroll to work with content of different sizes

* Clean-up and reset pivots on scene start

* Patches from PR

* Clean up range slider unused variables

* Updated Dropdown list to NOT resize text Rect on draw

* Upgraded RangeSlider to work in both Horizontal and Verticle setups, just like regular slider.

Also fixed a minor issue with offset when dragging on the bar.

# Conflicts:
#	Runtime/Scripts/Controls/RangeSlider.cs

* Taking in fix from
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/pull-requests/132

* Applying PR manually, because Bitbucket
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/pull-requests/128

* Merged in fix manually because... Bitbucket
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/pull-requests/130

* Remove old BitBucket Pipeline for GitHub

* Fixes issue #398 where the Next / Previous buttons filed to work if the ScrollSnap was previously scrolling.

Also renamed the Extension Methods scripts and added a new function.

Resolves: #398

* Resolves #397

Moved OnValidate checks which redraw the component to the RectTransformDimensionsCHanged event

* Updated UIParticleSystem access to Particles array to ensure it is more stable.
Updated some #if statements to be better future proofed

Resolves #360

* Fixed the UIConnector to safely handle when no parent canvas can be found.

Resolves #392

* Fixed issue which allowed an item marked as NOT transferable to actually be transferred between lists

Resolves #382

* Updated #if filter inclusion to 2019_1_OR_Newer

resolves:
- https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/411

* Updated UIVertical scroller to be 2022 compliant

Resolves:
- https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/410

* Updated Curly UI to wait until end of the frame to recalculate positions
Also updated Editor script to work in 2022

Resolves:
- https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/409

* Updated Depth Texture sampler in UI Particles Shaders

Resolves:
- https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/401

* Remove meta duplicates for HSVColour Picker

* Add newly generated HSV picker meta files

* Hard reset of Colour picker guids

* Updated Points to always be an array of 1 when set to nothing.

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/295

* Updated Cooldown button to work with Keyboard input

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/171

* Added error handling around setting Unity UI Components for Vertical/Horizontal scrolling

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/296

* Protecting Remove too

* Added SetArc method to UICircle as requested

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/280

* Marked ScrollPositionController as Obsolete, users should use the newer Scroller component instead, will be removed in a future release.

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/305

* Updated ScrollPositionControllerEditor as obsolete too

* Removed unneeded size calculation which caused some issues with mixed height/width children.

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/380

* Resolved issue whereby the last row in a flow layout group would not size correctly.

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/357

* Updated all components using "LayoutGroup" to override their OnDisable feature to incorporate this fix:
https://gist.github.com/randomize/73ca6d3b6aa7210073692eb5cabd537e

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/178

* Checking in new MinMaxSlider

TODO
- Finish Editor creator

* Added Editor Menu Option to create a Min/Max slider

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/270

* Marked TileSizeFitter as obsolete as Unity has made this unworkable

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/214

* Updated Editor create options to add the correct Event System Input module for the Input system used, now or old.

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/378

* Updated Editor menu layout

* Updated initialisation logic to not cause an endless loop in the TabNavigationHelper

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/208

* Added new FIFO based UI Line Render when dynamic line rendering is needed (basic, no Beziers)

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/324

* Clean-up of ScrollSnapBase

* Updated "Action" use to "UnityAction" to avoid Unity issues

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/253

* Updated UIVerticalScroller for standards and added UIHorizontalScroller

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/205

* Updated ReorderableList/ReorderableListElement to prevent creating a "Fake" droppable when the item is not transferable

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/164

* Updated panel drawing for ComboBox controls and added DropdownOffset

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/393

* Base update for pointers to new version / package home

* Cleanup and ensuring the UIParticleSystem is disposed on Destroy correctly.

Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/412

* Refresh FancyScrollView with latest fixes

* Remove broken examples link

* Break Module

* Update Examples module to new home

* Updating GitHub artifacts and automation

* Updated build issue with ReorderableListElement

* Revised the Curly UI fix as it was preventing the graphic from being updated in the scene view.  Thanks to @solidsign for the update.

* Removed legacy Examples link, moving to separate repository

* Added new submodule for extracted examples

* Fix class spellings and update MultiTouchScrollRect

* Updated NonDrawingGraphic to require a CanvasRender, else it causes an error on run (and doesn't work)

- Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/420

* Add updated test flow for builds

* Fix github issue templates

* Add the Version upgrade pipeline

* Added ResetSelectableHighlight component

* Resolves issue in 2022 with the missing Text component

Fixes: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/424

* The BIG Unity 2022 Text reorganisation

* Remove editor validation and add error checking for the ColorLabel component

* Add 2019 to the testing validation

* Switch android builds to windows

* Several lifetime feature updates for the ComboBox controls:

- Resolves startup issue that prevented the control being used (Unity changed the start order in some instances), this was causing null reference issues with comboboxes
- Added the ability to set a specific item on start and not just the first
- Added the ability to disable the dropdown to make a read-only dropdown

Resolves:
- https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/426
- https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/425

* Resolved issues with DisplayAbove and using a 0 ItemsToDisplay

* Update pipelines for release

* Final checks for merge!

---------

Co-authored-by: Robert Rioja <rrioja@immersivedisplayinc.com>
Co-authored-by: Simon Jackson <darkside@xna-uk.net>
Co-authored-by: Ben MacKinnon <bilmackinnon@googlemail.com>
Co-authored-by: Simon Jackson <sjackson@ethar.com>
Co-authored-by: action <action@users.noreply.github.com>
2023-02-07 14:35:43 +00:00
Simon Jackson 383e19fb05 Merged in development (pull request #122)
Development

* Merged in updated_new_input_system_check (pull request #117)

Updated the new Input system switch and tested against 2021

* Updated LineRenderer to initialise with a 1 point array, this resolves an issue with Unity putting the previous controls vertext array in an uninitialised control.
Also updated examples checkout

* Merged in UpdatedLineRender (pull request #118)

UILineRender now initilises with a point of 1 to correct Unity issue

* Applied J.R. Mitchell's fix for the Accordion Controls/Accordion/AccordionElement.cs

resolves: #364

* Merged in AccordionFIx (pull request #119)

Update to Accordion to allow for prefab Accordion Elements

* Resolved issue where the Content Scroll snap would cause issue with only 1 child.
Also tested and fixed working with no children.

Resolves #362

* Merged in content_scroll_snap_fix (pull request #120)

ContentScrollSnap update

* Updated the PaginationManager to override if the ScrollSnap is in motion.
BuyerBeware, Unity's toggles can get in to a state where they are clicked but not clicked.

* Merged in PaginationFix (pull request #121)

Updated the PaginationManager to override if the ScrollSnap is in motion.

* Updated release notes and bumped version to release
2021-05-10 17:38:31 +00:00
Simon (darkside) Jackson 1f93524b5f Late Build issue, resolved. 2020-10-31 16:47:44 +00:00
Simon (darkside) Jackson 17274b3ad4 Patch fix Unity 2019 2020-10-31 15:51:46 +00:00
Simon (darkside) Jackson da2cec1ef2 Unity 2020 patchfix 2020-10-31 15:45:21 +00:00
Simon (darkside) Jackson a7a17afcc5 Unity 2018 patchfix 2020-10-31 15:09:41 +00:00
Simon Jackson 38dd4ed507 Merged in dev/staticShaderLibrary (pull request #105)
Initial check-in of a static library to collate shaders on first use.
2020-10-27 01:30:40 +00:00
Simon (darkside) Jackson 45de2322c4 Patch Tooltip 2020-10-27 01:16:58 +00:00
Simon (darkside) Jackson 3de3ffa996 Patch supplied by contributor to improve the texture sheet use with the UIParticlesystem 2020-10-24 11:36:40 +01:00
Simon (darkside) Jackson f7f7535a7c Initial check-in of a static library to collate shaders on first use. 2020-10-23 19:10:51 +01:00
Simon (darkside) Jackson 5a3621a464 Added header 2020-10-23 12:41:14 +01:00
Simon (darkside) Jackson 93e36943a2 Refactored and extended the ContentScrollSnap control
* Added protection against errors and empty scrollrect content
* Added new SetNewItems function to add children programmatically to the control and reset accordingly
2020-10-23 12:04:11 +01:00
Simon (darkside) Jackson 5cfc3da6c0 Added the programmatic capability to change the parent scroll rect on the ScrollConflictManager at runtime. 2020-10-22 01:38:49 +01:00
Simon (darkside) Jackson 02abdd0929 Minor update to MagneticInfinite Scroll 2020-10-21 23:27:47 +01:00
Simon (darkside) Jackson 8870e4c78c Last 2018 fix 2020-10-21 23:23:14 +01:00
Simon (darkside) Jackson 55ee3bf621 Merge branch 'development' of https://bitbucket.org/UnityUIExtensions/unity-ui-extensions into UIKnob_Improvements 2020-10-21 23:19:59 +01:00
Simon (darkside) Jackson ac80817f49 Missed some refs 2020-10-21 19:04:00 +01:00
Simon (darkside) Jackson 9ac3b24818 Unity 2018 testing fixes 2020-10-21 18:57:03 +01:00
Simon (darkside) Jackson a354a22a13 Minor bug fixes following docs 2020-10-21 18:36:57 +01:00
Simon (darkside) Jackson 9a0a08da78 Updated UI Knob control - enabled dragging outside target area
Added example scene
2020-10-21 18:12:37 +01:00