Commit Graph

59 Commits (e7babe0dd6b3d5c63fb88d53c86e2605e741737b)

Author SHA1 Message Date
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
Simon (darkside) Jackson 948d4fe62b Added "SetKnobValue" function which allows the setting of Value and loops 2020-10-20 23:06:07 +01:00
Simon (darkside) Jackson 61d0c8ec6d Refined magnetic scroll and dependencies while documenting
Updated example
2020-10-20 15:48:07 +01:00
Simon (darkside) Jackson 37fa5da1c8 Adding new magnetic scroll control
Includes some fix updates to the Infinite scroll for content of various sizes
2020-10-14 18:03:49 +01:00
Simon (darkside) Jackson dbd3bcbaa7 Patch to resolve issues without the new Input System installed 2020-10-14 16:21:26 +01:00
Simon (darkside) Jackson f349471a45 Removed redundant meta file 2020-10-12 23:32:42 +01:00
Simon (darkside) Jackson b7277edb89 Removed old inputsystem modules as they are no longer effective under Unity's new inputsystem. 2020-10-12 23:29:16 +01:00
Simon (darkside) Jackson 38740bfef0 Finalised new InputManagerHelper, which translates input based on the operating input system, new or old
Updated CardStack2D to have defined keyboard input or specific gamepad input over the older axisname for new input system.
2020-10-12 23:27:57 +01:00
Simon (darkside) Jackson 0b0d03cdb7 Following reports that certain UI Extensions controls do not work with the new input system, working on a small refactor to manage and handle dependencies on the old input system. 2020-10-08 17:07:39 +01:00
Simon (darkside) Jackson 79290237b8 Resolves #347
Items marked as transferable, remain transferable after being dropped

Also fixed an issue with items that can be dropped in to space causing NRE with debug info.
2020-10-02 21:20:17 +01:00
Simon (darkside) Jackson 9b9aac4a74 Resolves #346
When cloned, reorderable list was creating a second List Content component that was not initialised.  Refactored to wnsure only one list content was present and is initialised correctly
2020-10-02 18:17:47 +01:00
Simon (darkside) Jackson 1f6f7a8df2 Fixed issue with page events not being raised when inertia was disabled (velocity was always zero) 2020-09-28 23:59:47 +01:00
Simon (darkside) Jackson 6350f72e80 Final roll-up and fix.
Resolved race condition for associated pagination controls.
2020-09-28 23:43:03 +01:00
Simon (darkside) Jackson 263368ba8d Fixed public GoToScreen call to only raise events internally (not multiple) 2020-09-28 18:12:35 +01:00
Simon (darkside) Jackson a757539246 Fix for UI Particle system looping
Resolves #342
2020-09-28 14:45:01 +01:00
Simon (darkside) Jackson 0e636bf937 Fixed a conflict when using the ScrollConflictManager in child content of a HSS or VSS 2020-09-28 14:00:09 +01:00
Simon (darkside) Jackson 2c2a605f79 Fixing Vertical snap too 2020-09-25 16:02:03 +01:00
Simon Jackson 3427cb8442 Fixed hard swipe to ensur eit only ever moves one page, no matter how far you swipe.
Resolves #344
2020-09-25 14:40:59 +01:00
Simon (darkside) Jackson dcd43da6b8 Updates from testing 2020-09-24 21:47:00 +01:00
Simon (darkside) Jackson 0e99d8e63f Updated ComboBox controls to improve better programmatic controls 2020-09-24 15:36:02 +01:00
Simon (darkside) Jackson a6adfa849c Fix to add a "RequireComponent" to Primitives as Unity 2020 does not add them by default 2020-09-18 18:37:00 +01:00
Simon (darkside) Jackson 84bf882777 Updated Accordion to support both Vertical as well as Horizontal layout 2020-08-30 16:09:54 +01:00