Commit Graph

350 Commits (9746d1f7db0752e2fcd37df886597878797eb16b)

Author SHA1 Message Date
Claudiu 62990e2901 On Android the hardcoded path is not found and the code execution stops there because of NullPointerException in the Material constructor 2018-06-26 21:15:42 +02: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 75bcf05f32 Resolves #210
Fixed issue where the original script made an incorrect assumption about the association between a prefab and a script.
Menu now stacks the gameObject prefabs instead of the prefabs themselves.
2018-04-28 12:32:17 +01:00
Simon (Darkside) Jackson b12ade6b12 Added child layout fix from John Hattan
resolves #225
2018-04-19 18:01:41 +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 104002eaa5 Updated HSS/VSS to include a new HARD swipe option. Forces scroll snap to ONLy move one page when swiped. 2018-03-24 15:36:38 +00: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
Simon Jackson 4d913f33a8 HorizontalScrollSnap.cs updated to match VerticalScrollSnap - Resolves #213 2018-02-19 15:23:38 +00: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
adibacco 2145c4671b Merged in adibacco/unity-ui-extensions (pull request #17)
Added support for multiple segments drawing
2018-01-20 10:25:08 +00:00
Edward Parris dcbe1920f1 Merged in empika/unity-ui-extensions (pull request #29)
Use a member variable for the list of verts to stop garbage generation.
2018-01-06 11:34:24 +00:00
ramonmolossi 9528fb235e Merged in ramonmolossi/unity-ui-extensions (pull request #19)
Flow Layout changed to support Vertical Flow
2018-01-06 11:33:59 +00:00
Eddy Parris fbfb5afc8e Use a member variable for the list of verts to stop garbage generation. 2017-12-07 13:34:55 +00:00
Beka Westberg fca370b906 Created a Content Scroll Snap that snaps onto the children of the content no matter their sizing or spacing 2017-12-05 14:23:01 -08: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
Troy Walker 731961fe22 Merged in tswalker/unity-ui-extensions (pull request #20)
Major changes to UICircle with some member modifications and additions to the component behaviour.
2017-10-19 12:15:59 +00:00
David Gileadi 9d2fdcf39a Merged in david_gileadi/unity-ui-extensions/stepper-segmented-fixes (pull request #16)
Fixes for Stepper and Segmented Control
2017-10-19 12:15:03 +00:00
David Gileadi 5530b10453 Merged in david_gileadi/unity-ui-extensions/gradient-zoom-offset (pull request #18)
Improve the offset range when zoomed
2017-10-19 12:11:56 +00:00
Simon (Darkside) Jackson 54488e1089 Experimental ScrollSnap base with support for the UI Infinite scroll component
* Does not yet work with buttons
* GoTo screen not tested

New features only activate with a UI Infinite Scroll attached.
2017-10-19 13:11:09 +01:00
LAB\TroyWalker 019d05dfb1 Major changes to UICircle with some member modifications and additions to the component behaviour.
* Added progress indicator capability to the component.
 * Component uses AddUIVertexStream to generate vertices and indices of triangle order.
 * Improves base geometry generation to prevent edge sliding on segment value changes (tris density, now called Arc Steps).
 * Corrects a minor issue with base mesh where first vertex is generate at center (only visable in wireframe mode at certain angles).
2017-10-10 16:52:02 -05:00
David Gileadi 0c8e5d5d00 Merge branch 'master' into stepper-segmented-fixes 2017-09-20 11:55:38 -07:00
ramonmolossi dcff7e29a3 Layout changes to support Vertical Flow 2017-09-08 21:14:58 -03:00
David Gileadi f5602a0e14 Use button colors, improve initial render 2017-09-01 17:39:32 -07:00
David Gileadi 84a79e7404 Improve the offset range when zoomed 2017-08-31 09:32:50 -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
ydibaccoa fedfe4508a Added support for multiple segments drawing 2017-08-17 21:38:31 +01: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
David Gileadi 48acafbb85 Support complex linear gradients, gradient zoom, and a switch of whether to modify vertices 2017-08-12 15:41:24 -07:00
Simon Jackson 1f16a65f0f Some realignment of the H&S ScrollSnap Scripts
Resolves #160
2017-08-12 10:24:25 +01:00
Simon Jackson 68b0445b28 Fixing attributions on update UIParticleSystem. missed when the update didn't take the first time.
Script remains the same. (docs updated)
2017-08-11 15:53:23 +01:00
Simon Jackson c11796ebcc Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
Simon Jackson 8bd4312c16 UI Particle System update from forum thread 2017-08-11 13:15:42 +01:00
Simon Jackson d6cfb41bf5 Added Pagination Manager
Resolves #158

Thanks @BroganKing
2017-08-09 19:38:29 +01:00
Simon Jackson adb09d3481 Also added "InitialiseChildObjectsFromScene" to RemoveChild for HSS
Validated all other occurrences where this function should be called are valid.
2017-08-07 11:56:41 +01:00
Simon Jackson cdef4bdfef Horizontal Scroll Snap "AddChild" method was NOT calling "InitialiseChildObjectsFromScene()", added
Resolves #125
2017-08-07 11:53:57 +01:00
Simon Jackson 98648acf6a Documentation tweaks and original FancyScrollView docs 2017-08-05 12:57:07 +01:00
Simon Jackson 2294f34905 Performance update to UILineConnector only draw when child transforms move.
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/123/uilinerenderer-issues-with-specifying
2017-08-04 20:36:25 +01:00
Simon Jackson 11ee80411f Added a new Line Renderer mode (Catenary) 2017-08-04 20:01:02 +01:00
Simon Jackson a1b2b38a0f 1st stage pass adding the Menu system from Unite.
Need to finish testing and add docs
2017-08-02 17:50:22 +01:00
Johannes Deml 2c8550532d CHANGE tooltip to describe the actual (changed) behaviour 2017-08-02 12:28:09 +02:00
Johannes Deml 59b6c579f9 Merge branch 'master' into ScrollSnapRefactoring 2017-08-02 12:00:35 +02:00
Johannes Deml 14f42df81c REFACTOR make method more readable 2017-08-02 11:59:27 +02:00
Johannes Deml c8de1b9289 FIX fastswipe threshold
Does now what is stated it does in the tooltip: Offset for how far a swipe has to travel to initiate a page change (optional)
2017-08-02 11:57:02 +02: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
David Gileadi b03f8065a5 Thanks for the fix, good catch.
Merged in david_gileadi/unity-ui-extensions/fix-panel-dimensions (pull request #13)

Calculate the panel dimensions in Start to avoid scale issues
2017-08-01 17:51:29 +00:00
Simon Jackson 974f906fb0 Added Curly UI Asset and updated to project standards. Docs to follow. 2017-07-30 13:13:29 +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
David Gileadi 700cbc34b9 Calculate the panel dimensions in Start to avoid scale issues 2017-07-26 22:44:18 -07: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 a56a9a9084 Merged in david_gileadi/unity-ui-extensions/segmented-control (pull request #12)
Thanks, looks good

Segmented Control
2017-07-25 17:21:19 +00:00
Simon Jackson 3084644c4f Updated Line Renderer to work with Textures better.
Also now uses Sprite Boxing / slicing
2017-07-24 21:36:23 +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 3abf84dc76 Updated TabNavigation based off comments in #149
* Renamed to TabNavigationHelper (as per Unity specs)
* Resolved FirstSelected errors when no starting GO selected in Event System
* Added Circular tabbing for both Auto and Manual

Resolves #149
2017-07-16 19:29:47 +01:00
Simon Jackson 2b5071585b Fix supplied by Anonymous user, resolves issues with fast swipe on fringe pages.
Resolves #154
2017-07-16 18:00:43 +01:00
Simon Jackson 3daac5e970 Some minor Examples restructuring and finally added a .GitIgnore #FaceSlap 2017-07-15 11:41:14 +01:00
Simon Jackson 878948bd0f Added UIHighlightable control and docs 2017-07-12 20:04:53 +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 8c2d10dccc Added CurrentPageObject functions to return the Transform of the currently selected page. 2017-07-09 10:17:32 +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 608a7bdf6a Resolved issue in GridRenderer causing issues on OnPopulateMesh due to SetDirty being called on resetting RelativeSize.
Also updated LineRenderer to be more open to extension by setting private properties to internal

Resolves #152
2017-07-08 09:25:37 +01:00
Simon Jackson af1f9beeb0 Fix for UIFlippable when used in combination with other BaseMeshEffects
Unity is very fussy about the order now, so script updated to ensure it's above other base mesh effects on Validate.
(can't solve for stupid if you reorder manually, so updating docs)

Resolves #133
2017-07-02 15:36:39 +01:00
Simon Jackson 5cebd6cdfe Adopts fix from #148 Scroll To improved Large list support
Resolves #148
2017-07-02 14:44:23 +01:00
Simon Jackson 50c41198db Adopts changes proposed in #150 ScrollTo now works with Pivot
Resolves #150
2017-07-02 14:43:10 +01:00
Simon Jackson f49c8564ac Resolves #137
WorldPositionStays argument added to:
* RemoveChild
* RemoveAllChildren

For HSS/VSS ScrollSnaps
2017-07-02 14:33:57 +01:00
Simon Jackson 439242d914 Updated FastSwipe logic to measure the distance of a swipe against the container width (with threshold offset) rather than using velocity (which was messy)
Resolves #130
2017-07-02 14:22:10 +01:00
Simon Jackson 49ecdc1b0e Added Scrollbar helper to ALL current scroll snaps
Resolves #120
2017-07-02 10:09:52 +01:00
Simon Jackson 23deee414a Minor tweaks to UI Particle system following 5.5 update 2017-06-30 17:29:36 +01:00
Antonio Valentini 96c5ea3c2f Remove warnings 2017-06-30 10:18:16 +02:00
Mauro Ronchi 78c2d42a9a API update guarded with #if directive 2017-06-29 15:07:29 +02:00
Mauro Ronchi 42c2a5dace Unity API Update 5.6.2 2017-06-29 15:00:19 +02: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 290f550fc4 Updated LineRenderer Example Scene
Added new Circle class (example in LineRenderer scene)

Changed some of the LineRenderer public variables to public properties, else they are not assignable in the editor for events.  Will check other controls as well.
2017-06-25 11:56:46 +01:00
Simon Jackson ec165a57b9 Added Line Renderer Connector from #123 (resolves #123)
Added new Extension method for discovering a parent canvas for a non-graphic
2017-06-22 00:54:02 +01:00
Simon Jackson 937daaa227 Manual merge for PR #9
Resolves an issue with the EventSystem and EventTriggers
2017-06-19 18:48:49 +01:00
Simon Jackson e373565536 Resolves #139
New properties to improve the resolution for a line, which when combined with the LineList creates a dotted line.

Supports two modes: dashes based on segments or the entire line.
2017-06-12 09:02:46 +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 6a29b9957e Updated Text demo scene with additional effects and animated some of the controls, just for effect 2017-06-05 16:01:47 +01:00
Simon Jackson 20a6cc962c Updated Gradient scripts to "SetAllDirty" when properties changed, to ally changing through code.
Resolves #145

Thanks to @chrisparton1991 for the fix
2017-06-04 18:19:14 +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 438fc0fa81 Merged in newgradienttypes (pull request #7)
Added 2 new gradient types for the Gradient2 component: radial and diamond
2017-05-08 11:09:41 +00: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