Commit Graph

701 Commits (3582824afa3ec3d45f59e10e5de06af8a720f129)

Author SHA1 Message Date
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
Mauro Ronchi d0836e3130 Merged in whatwapp/unity-ui-extensions (pull request #10)
Unity API auto-update in UIParticleSystem

Merging as it seems a good way to stop the ever evolving errors.  Will improve the script at a later date.
2017-06-30 16:12:14 +00: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 11309d2d82 Fixed editor handles for Relative size #Phew 2017-06-21 23:44:10 +01:00
Simon Jackson c4c6c81e80 Updated several of the example test scenes 2017-06-19 18:49:14 +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
Simon Jackson 1482d7c440 Resolves #138
Line Renderer now renders based on Pivot and resolves drawing issue with Editor script when using !Relative.

However, need to update editor script to work with relative drawing.
2017-05-08 00:18:06 +01:00
Simon Jackson 652dd1a646 Patch to BezierLineRendererEditor for Null 2017-05-07 18:39:53 +01:00
Simon Jackson c6f095efeb Resolves #140
At the request of the PR update author
2017-05-07 18:16:36 +01:00
Simon Jackson dd7d79a411 Added more example scenes 2017-05-05 17:14:03 +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 11519cd4bc Added 2 new gradient types for the Gradient2 component: radial and diamond 2017-04-18 02:46:33 +06: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
lars me 7824978a8f Merged in larsme/unity-ui-extensions (pull request #2)
Additional Options for DropDownList & AutoCompleteComboBox

Few post fixes required
2017-04-15 17:55:56 +00:00
PixelEnvision 67bf28cb5a Merged in PixelEnvision/unity-ui-extensions (pull request #3)
ScrollRectMultiTouchFix.cs
2017-04-15 16:19:09 +00:00
Felix Herbst 95ce2166c2 Merged in herbst/unity-ui-extensions/monospacing (pull request #1)
Monospacing
2017-04-15 16:02:54 +00:00
PixelEnvision 4520bf26d7 ScrollRectMultiTouchFix.cs edited online with Bitbucket 2017-03-30 22:40:57 +00:00
PixelEnvision 90a87e6e4d I've found out today that Unity's ScrollRect is behaving erratic when more than one touch is used for drag. I think that's a bug with UI. It jumps between fingers (to moving one), this script fixes it by blocking event data based on touch id. 2017-03-30 20:42:37 +00:00
LARS-LAPTOP2\larsme 8549c3ba6a Replaced OnSelectionChanged with event(s) accessible from the inspector (DropDownList & AutoCompleteComboBox) 2017-03-27 14:33:08 +02:00
LARS-LAPTOP2\larsme 6565b1a6d1 Option to change Input Text Color based on matching Items 2017-03-27 14:03:39 +02:00
LARS-LAPTOP2\larsme b315784caf Option to automatically select your first Item on Start (DropDownList & AutoCompleteComboBox) 2017-03-27 13:11:24 +02:00
LARS-LAPTOP2\larsme 9ac4eb6969 option to set interactible to false if there are no items to be selected (DropDownList and AutoCompleteComboBox) 2017-03-27 12:52:51 +02:00
LARS-LAPTOP2\larsme 98c92f4cde centralized interactable 2017-03-27 12:03:05 +02:00