Commit Graph

350 Commits (9746d1f7db0752e2fcd37df886597878797eb16b)

Author SHA1 Message Date
Simon Jackson b3e4b0fcd5 Merged in fancyscrollview_Update (pull request #62)
Updated Fancy Scroll view to the latest
2019-11-15 16:03:08 +00:00
Ben MacKinnon cea147dc75 Added Range Slider controller. Squashed commit of previous work.
commit 6c5cf2dc036cf385b81fdfc8072300704b06b435
Merge: fb991af bf30261
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Tue Nov 12 17:54:34 2019 +0000

    Merge branch 'refs/heads/master' into range-slider

commit bf302616b8ae377a859d2012b856dc370efe40c2
Merge: 10919c6 76d2299
Author: Ben MacKinnon <bilmackinnon@googlemail.com>
Date:   Tue Nov 12 17:44:57 2019 +0000

    Merge pull request #1 from Dover8/range-slider

    Range slider

commit 76d22998d38801ab35ba19743d944263041924a5
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Tue Nov 12 17:36:23 2019 +0000

    Updated PointerDown to update the target graphic

    Re-enabling colour tint interaction.

commit 2d2ca219d5c0865ba4eaa428e8a167118aa06360
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Tue Nov 12 16:59:29 2019 +0000

    Updated headers to match the standard format of the project

commit 9a0d3f4aaddbcee2565693b0733c0001a2de2a90
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Tue Nov 12 16:43:22 2019 +0000

    Some further default value set when creating a RangeSlider

commit 748d1484568e16aa0bd2e3949330e48ce7245570
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Tue Nov 12 16:38:34 2019 +0000

    Added the menu creation options for the Range Slider

commit fa9e9beceede8c708529cd6a3ea98673b2d6d2c2
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Tue Nov 12 12:55:38 2019 +0000

    Editor layout for the Range Slider

    Using the EditorGUILayout.MinMaxSlider to control the RangeSlider. It was this control that we are replicating in the UI.

commit 32b731548e8e7f286964a4a7a35fd945e5d5a31a
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Mon Nov 11 16:19:16 2019 +0000

    Updated namespace and header

commit 4d0fa2e7dc535b343cf10def6e01886383cc88ac
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Mon Sep 16 12:41:45 2019 +0100

    Added interaction

    Range slider is now interactable with both handles and the bar

commit f4be93752719a08b95594e545eb16b27d3b3bcea
Author: Ben MacKinnon <ben.mackinnon@soluis.com>
Date:   Fri Sep 13 15:27:15 2019 +0100

    copied over the WIP RangeSlider from current project
2019-11-13 11:09:37 +00:00
Moritz Umfahrer 29e7787c84 Additional zero divisions checks and value constraints 2019-10-30 09:04:30 +01:00
Moritz Umfahrer 4ac901e416 Fix for division by zero error in Gradient2.cs 2019-10-29 11:48:36 +01:00
Simon Jackson 58e9772ccb Updated Fancy Scroll view to the latest 2019-09-27 13:30:11 +01:00
Simon Jackson af4cb4428d Updated ScrollConflict Manager to handle multiple patent/dependant scrollrects
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/300/scrollconflictmanager-not-working-if
2019-09-25 14:02:40 +01:00
Donny Sutherland bc10ac6d57 Merged in donnysobonny/unity-ui-extensions (pull request #56)
Master
2019-09-09 11:59:13 +00:00
Donny Sutherland a6e7401670 removed historic comments 2019-09-09 11:05:36 +00:00
Donny Sutherland f1697b4f91 fixed an issue with bezier curves where the segments of the generated mesh do not join up correctly 2019-09-01 13:31:59 +00:00
Simon (darkside) Jackson 35995015bc Updating project for 2019 and adding assembly definitions for dev
Plus minor 2019 fix for textpic
2019-08-14 11:10:38 +01:00
Martin Shuttleworth ccf9279626 Merged in martin_thoughtmachine_net/unity-ui-extensions-scrollsnap-event-delta/scrollsnap-event-delta-extension (pull request #52)
Added optional event delta to OnEndDrag

Approved-by: Simon Jackson <darkside@xna-uk.net>
2019-08-13 20:32:21 +00:00
Brad Nelson 1d5bfd7e30 Merged in playemgames/unity-ui-extensions-7/Brad-Nelson/minor-fix-for-newer-unity-versions-1563051919060 (pull request #53)
Minor fix for newer Unity versions.

Approved-by: Brad Nelson <info@play-em.com>
2019-08-13 20:30:49 +00:00
sushanta chakraborty 3e580876b1 TextPic.cs edited online with Bitbucket
1. Solved 2 null reference exception, one where inspectorIconList is null at first when you create a TextPic.cs object directly from the menu. And another at GetOutputText() function where sometime count gets higher then m_HrefInfos.Count.
2019-08-10 18:00:55 +00:00
Brad Nelson 1bc5bab70b Minor fix for newer Unity versions. 2019-07-13 21:05:42 +00:00
Martin Shuttleworth 61e019ac26 Added optional event delta to OnEndDrag - to allow bail out of swipe action if swipe motion is actually negligible at end of drag 2019-07-10 17:36:36 +01:00
Brad Nelson 9496fcc0e6 Code cleanup of TextPic, fixes for text rendering with Unity 2019.1.5 and above. Made a default function for hyperlink text to work out of the box with a function OnHrefClick to override with own custom functionality if desired. Optimizations and caching of variables. 2019-06-10 10:23:50 +00:00
Jesús González 61aab3765b Reorderable lists now have a new field "EqualizeSizesOnDrag", default to false. When it is true it sets every item size (when being dragged over the current list) to the current size of the first element of the list.
true was the default behaviour before, and it might be useful in some cases so I left the option there, but in most use cases I encountered so far, and according to Issue 268 (https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/268/re-orderable-lists-different-width-height) the false behaviour is expected.
2019-04-10 09:43:17 -04:00
Jesús González 93f9a314cf Added a new Event to ReorderableList: OnElementDroppedWithMaxItems.
It is called when an object is dropped on a ReorderableList with no more space left (currentItems >= maxItems).
2019-04-09 20:35:34 -04:00
Simon (Darkside) Jackson 423fd6bd78 Updated and included a new LineRenderer that is based off an Array instead of a list to reduce allocations. 2019-03-09 13:26:11 +00:00
Simon (Darkside) Jackson 43eaa870e1 Resolved a number of .NET warnings and invalid properties 2019-03-07 18:11:51 +00:00
Simon (Darkside) Jackson 22b2ec2ec2 Updated ScrollConflictManager with fix from Jared Turner #85 2019-03-07 17:04:10 +00:00
Brad Nelson 561cc87cf0 Fixes to TextPic to make sure images are culled properly. 2019-03-02 00:23:06 +00:00
lars me d6bb530fee Merged in larsme/unity-ui-extensions/Reordable_List (pull request #48)
More Options for ReordableList

Approved-by: Simon Jackson <darkside@xna-uk.net>
2019-02-25 15:07:48 +00:00
lars me ba6dc87b11 Merged in larsme/unity-ui-extensions/UI_vertical_scroller (pull request #47)
More Options for UI Vertical Scroller

Approved-by: Simon Jackson <darkside@xna-uk.net>
2019-02-25 15:04:58 +00:00
lars me d7d293a348 Merged in larsme/unity-ui-extensions/inputField_Enter_Submit_defocus_Input_Option (pull request #46)
Defocus Option and Demo for Input Enter Submit Script
2019-02-25 15:01:47 +00:00
LARS-LAPTOP2\larsme c8b7085f27 More Options for ReordableList:
- Max item count, after which no more items can be dropped
- IsDisplacable option: If true, an item can be dropped into a full list by displacing one of its items,
  it may replace the dragged item in its origin list, be dropped in space or be deleted
  depending on the dragged item's origin list and the displaced item
- Added respective Events
- fixed ever increasing number of _listContent components
- Stopped dragged item from blocking Raycasts
2019-02-22 18:35:03 +01:00
LARS-LAPTOP2\larsme cee50a6d63 More Options for UI Vertical Scroller
- Option to stop scrolling momentum when scrolling past first / last item (still draggable in that direction)
- Explicit function to recognize / set array elements in case they were changed
- Resize elements to match elementSize rect object (defaults to center object), scaled using modifiable elementShrinkage and minSize
- Detect focusedElement and trigger event if focus changes
- Option whether to make unfocused elements interactible or not
2019-02-22 18:08:50 +01:00
LARS-LAPTOP2\larsme cd0800d701 Input Enter Submit:
- Option to defocus input on hitting the enter key
- Demo
2019-02-22 16:03:59 +01:00
LARS-LAPTOP2\larsme bccf36f06f corrected sign for horizontal scrollsnap left fast swipe 2019-02-20 17:51:22 +01:00
Stefan Perales 39a8671925 Merged in peralysis/unity-ui-extensions (pull request #41)
Updating the ReorderableList control to work with Screen Space - Overlay
2019-01-15 17:29:43 +00:00
Rubén Moraleda 67aefea569 Allow ignoring the Time.timeScale on ScrollSnaps (Horiz + Vert) 2019-01-15 11:45:10 +01:00
StefanTBG 3814471a2b Updating the ReorderableList control to work with Screen Space - Overlay 2019-01-14 22:25:52 -05:00
Stefan Perales f92a516d9d Updating the ReorderableList control to work with Screen Space - Overlay 2019-01-14 22:05:27 -05:00
Simon (Darkside) Jackson f643e868d1 Added CardUI controls to the project - Thanks to @ryanslikesocool
Docs to follow
2019-01-07 14:47:41 +00:00
Simon (Darkside) Jackson 48d3c40623 Testing branch for 2018.3 2018-12-31 15:54:49 +00:00
Simon (Darkside) Jackson a645c1e0c2 Updated FancyScrollView to latest version 2018-12-31 15:16:28 +00:00
Jesús González e82dd8dc6e Fixed: when moving an element from a Reorderable List to another one that's empty, the element size was being reset to the default 100,100. This also happened is moving any element to the start of a it current list.
This version of the fix is more correct, as it is only touching the ResetSizes() method.
2018-12-12 20:12:26 -03:00
Jesús González e35ff7d933 Fixed: when moving an element from a Reorderable List to another one that's empty, the element size was being reset to the default 100,100. This also happened is moving any element to the start of a it current list. 2018-12-12 20:06:27 -03:00
Lucas Ferres 693a49997b Merged in lucasvinbr/unity-ui-extensions (pull request #38)
Mixed BoundTooltip with ToolTip, added Screenspace Overlay support

Approved-by: Simon Jackson <darkside@xna-uk.net>
2018-11-26 12:26:43 +00:00
Lucas Vinicius f9e216adae Tabs -> spaces 2018-11-25 23:04:28 -02:00
Lucas Vinicius 6c639c7f51 Mixed BoundTooltip with ToolTip, added Screenspace Overlay support 2018-11-25 22:56:54 -02:00
Gabriel Juchault c2b8b39fa1 fix(cooldown-button): add a fake event to avoid null buttonSource 2018-11-21 14:47:49 +00:00
Gabriel Juchault ff548fec7e fix(cooldown-button): restore event 2018-11-21 13:41:20 +00:00
Gabriel Juchault 3737c610b6 fix(cooldown-button): do not trigger event on StartCooldown as it can be triggered next to `StartCooldown` call 2018-11-21 13:14:32 +00:00
Gabriel Juchault 67c2da49b1 feat(cooldown-button): add a `StartCooldown` to start cooldown from outside 2018-11-21 13:11:30 +00:00
Durmuş Ali Çöllü d9adaecfb7 Issue #239 fixed. https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/239/swipe-threshold-value-seems-to-be-on 2018-11-13 02:32:14 +01:00
i1 57cb33cca7 namespace 2018-10-04 00:25:09 +03:00
i1 16df45eea3 fixed adding component ScrollSnapScrollbarHelper multiple times 2018-10-04 00:19:56 +03:00
Simon (Darkside) Jackson ee391cab7f Ensure material and texture references are cleaned up on destroy 2018-09-25 15:28:08 +01:00
Moritz Umfahrer b2ecf4fa03 added 3d rotation capabilities to ui particle system 2018-09-25 15:12:04 +02:00