Commit Graph

70 Commits (2a3003f97e178a4a63faed5dc938b3e996eecfba)

Author SHA1 Message Date
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
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
Simon (Darkside) Jackson d3fc02c475 Reapplying fixes after having to do a reset, whoops 2018-05-31 16:55:39 +01:00
Simon (Darkside) Jackson 4e6f14118f Updated ColorSampler and TiltWindow with multi-touch support.
Also resolved an annoying warning from the BoxSlider (Resolves #234)
2018-04-29 12:10:34 +01:00
Simon (Darkside) Jackson 8768fb6c8d Merge branch 'master' of https://bitbucket.org/UnityUIExtensions/unity-ui-extensions 2018-04-12 15:12:31 +01:00
Simon (Darkside) Jackson 18a61b5ef5 Updated Radial Slider to user event Pointer position instead of Input.MousePos, allows multiple radials to be use on touch screens.
Resolves #231
2018-04-12 15:12:17 +01:00
Leon Kyz 3b1929541a Merge branch 'master' of https://bitbucket.org/leonkj/unity-ui-extensions 2018-03-30 20:02:03 +03:00
Leon Kyz 3cd7b25707 Fix reorderable lists 2018-03-30 20:00:26 +03:00
Simon (Darkside) Jackson 6a4256738a Added Experimental update to UI Knob to enable working in World/SS-Camera. May revert.
Unity seems to calculate the mouse cursor position wrong between frames.
2018-03-24 14:48:53 +00:00
Sean Mann 4a2a4f555d Merged in Naphier/unity-ui-extensions_ng (pull request #30)
Further improvements to color picker control
2018-03-24 11:35:53 +00:00
Simon (Darkside) Jackson 1dbfda47d9 Moved Shader folder under a Resources folder to resolve UI Particle system and other shader issues.
Resolves #229
2018-03-22 18:09:48 +00:00
Sean Mann d5d94a2076 Improvements to UI and ColorPickerPresets inspector.
- Picker 2.0.prefab UI now collapses preoperly when showing/hiding HSV/RGB slider sets.
- ColorPickerPresets now has an inspector with a button that can be clicked to open the saved JSON file.
2018-03-10 21:52:45 -05:00
Sean Mann 8d4a2fe698 Compacted json format (was Color[] now is Color32[]).
Commented out code that opens json file when saved.
2018-02-18 23:28:41 -05:00
Sean Mann b5f8f17203 Improvements on Color Picker:
- .gitignore - Added "/.vs" to ignore VS 2017's new folder.
- Added Color Sampler feature to pick colors from the screen.
- Fixed issue with ColorPickerPresets with "not working" HSVChanged()
- Changed the way ColorPickerPresets work. Can now add predefined colors in the inspector, plus save/load from player prefs or json file.
- Modified UI layout for Picker 2.0 prefab to allow for expansion of presets, toggling of RGB vs HSV. Still could use some work as the layout doesn't collapse/expand nicely.
2018-02-18 23:16:15 -05:00
Simon (Darkside) Jackson 55a7d21860 First pass optimisation for next update.
[x] Cleared any outstanding warnings on build
[x] Tested random scenes and updated (requires further investigation)
2018-01-20 12:08:44 +00:00
Brad Nelson 8f6b2a1888 Fixes to make sure images align correctly and are culled based on the matches for icons in TextPic. 2017-11-07 21:13:24 +00:00
Brad Nelson db2844d8bd Fixed rebuild loop error in TextPic and added disabling/enabling images when the TextPic component is disabled/enabled. 2017-11-06 20:44:20 +00:00
David Gileadi f5602a0e14 Use button colors, improve initial render 2017-09-01 17:39:32 -07:00
David Gileadi 825ae0d504 Move Segment and StepperSide into own files so Unity can find them 2017-08-31 09:29:16 -07:00
David Gileadi ea8a9e9d36 Preserve sprite modifications in more situations 2017-08-19 21:57:27 -07:00
David Gileadi 382a19cb36 Add null (missing component) safety checks 2017-08-12 16:56:22 -07:00
David Gileadi c5edc0cdf1 Change Stepper and Segmented Control to use overrideImage, standard size, other fixes 2017-08-12 16:19:19 -07:00
Simon Jackson c11796ebcc Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
Simon Jackson 688e2edd25 Added the FancyScrollView control and Examples
Reviewed other samples and moved their code to the new "Examples" namespace
Minor fix on HSS/VSS to address issue where Next/Previous buttons didn't enable when new pages added to an empty control
2017-08-02 10:21:45 +01:00
Simon Jackson 6cc0b60cee Small tweak to enable a default lerp if no Lerp Curve supplied
ALso control has a fixed start of 0 (for now)
2017-07-29 21:00:33 +01:00
Simon Jackson fc8bd8ba37 Added Radial Slider menu options
Minor bugix for Radial Slider when no curve assigned
2017-07-29 20:49:04 +01:00
Simon Jackson dd0b3a3cba Added Radial Slider and Example
Still need to add Editor Option for default
2017-07-29 19:09:19 +01:00
Simon Jackson 603d85126f Added Stepper and Segmented Controls to the README.md
Refactored Segmented Control and Stepper to support the more generic "Selectable" interface.
2017-07-26 22:32:48 +01:00
Simon Jackson 8e443b98c7 Updated Stepper and SegmentedControl scripts to UI Extensions standards.
Adding documentation next
2017-07-25 19:54:07 +01:00
Simon Jackson a2bb233141 Merged Stepper control PR #11 2017-07-25 18:54:00 +01:00
David Gileadi 6796238cec Recreate sprites instead of modifying the mesh 2017-07-23 22:43:11 -07:00
David Gileadi 680076b631 Create segmented control 2017-07-23 21:51:23 -07:00
Simon Jackson 3daac5e970 Some minor Examples restructuring and finally added a .GitIgnore #FaceSlap 2017-07-15 11:41:14 +01:00
Simon Jackson 703120b5b9 Minor TextPic updates while writing docs.
Added individual scale and offset options to image replacements
2017-07-09 21:10:42 +01:00
Simon Jackson 845f5d5700 Updated TextPic. Recent Unity updates seem to have changed the Event System behaviour and all click events are broken when a TextPic is placed as the child of a button. (gave up figuring out why)
Changed implementation, so that when TextPic is added as a child of a button, it adds a CanvasGroup and allows clicks to pass through it.  Downside is that hyperlinks don't work. TextPic on buttons is purely decorative.

The Button issue disables the ability to highlight links, so updated implementation to allow a "Selectable" component to be added to the TextPic to set highlight colours.

Resolves #110
2017-07-08 10:33:08 +01:00
Simon Jackson 330cc4ee38 Updated readme
Added Component commands to new controls
2017-06-25 22:36:09 +01:00
Simon Jackson 9d6349a2a1 Added Cooldown button control and example scene.
Some other minor fixes included
2017-06-25 18:36:49 +01:00
Simon Jackson 9ce211c5fc Resolves #143
Performance tweaked the existing Linq method and at the request of #143 , added a new array sort alternative.
2017-06-10 14:33:12 +01:00
Simon Jackson a059c148a6 Various patches and also enabled the ReorderableList in SS-Camera / Worldspace 2017-06-03 17:59:12 +01:00
Simon Jackson e4991aba05 Rolled back Floating Joystick as it had too many dependencies, will review and re-add later
Added fix to DropDownList to enable firing the changed event for the first item.
Added new ComboBox example scene.
2017-05-16 18:51:24 +01:00
Simon Jackson 2fb1a35698 Merged in floatingjoystick (pull request #8)
Added a floating joystick (appears in a tap position)
2017-05-08 11:09:06 +00:00
Simon Jackson c6f095efeb Resolves #140
At the request of the PR update author
2017-05-07 18:16:36 +01:00
Simon Jackson 35b88a2487 Fixed Line endings on shaders (?)
Removed unnecessary usings (who knew there were so many, I'm normally so tidy :P)
2017-05-05 14:25:48 +01:00
Simon Jackson dc809858b9 1st Pass update, Updated controls:
* DropDownList/ComboBox
* Reorderable List (Screen Space Camera Updates
* Curved text fixes
2017-05-05 14:06:52 +01:00
Tima Zhum fe2ed6c7ce Added a floating joystick (appears in a tap position) 2017-04-17 20:00:24 +06:00
Simon Jackson a09a5b5322 First pass 1.3 updates:
* SelectableScaler.cs
* MonoSpacing
* MultiTouchScrollRect.cs
* BezierLineRendererEditor.cs
* WIP - DropDownList / AutoCompleteComboBox
2017-04-15 19:12:44 +01:00