Commit Graph

30 Commits (1628a9557f45734a0b511312fc187422e17a7099)

Author SHA1 Message Date
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
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
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
ydibaccoa fedfe4508a Added support for multiple segments drawing 2017-08-17 21:38:31 +01:00
Simon Jackson c11796ebcc Update 2.0 Check-in 2017-08-11 13:17:10 +01:00
Simon Jackson 11ee80411f Added a new Line Renderer mode (Catenary) 2017-08-04 20:01:02 +01: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
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 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 a059c148a6 Various patches and also enabled the ReorderableList in SS-Camera / Worldspace 2017-06-03 17:59:12 +01: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 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 49806ebb44 Fix to Primitive Base to ensure the control is redrawn when it's enabled, resolves #116 2017-03-06 16:24:47 +00:00
Simon Jackson 82585a7cb2 Added UIGridRenderer thanks to John Hattan
Fixed "line Endings" errors
2017-02-17 12:54:40 +00:00
Simon Jackson bddf5ad8b0 Updated primitive controls to Set Control Dirty should its effect parameters change
--HG--
branch : develop_5.3
2017-02-10 16:45:50 +00:00
Simon (darkside) Jackson 161a9d20d9 One of these days I will learn to spell. Today is not that day :S
Renamed Primative to Primitive (only the second time now)

Lesson learned, don't code so early in the morning.  Time for bed

--HG--
branch : develop_5.3
2016-05-25 00:56:18 +01:00
Simon (darkside) Jackson e205747c13 Updated Primatives for issue:
https://bitbucket.org/ddreaper/unity-ui-extensions/issues/57/use-of-texture-instead-of-sprite-eg-in

Refactored all primatives to use a new common base
Updated primatives (using base) to align with current Unity Image component, including:
* Using Sprites not textures (aka above issue)
* Added ILayoutElement Interface
* Added ICanvasRaycastFilter interface (experimental, can be overridden), includes basic alpha checking.

--HG--
branch : develop_5.3
2016-05-25 00:50:10 +01:00
Simon (darkside) Jackson 2d3b348825 Patches added to HSS and VSS to include programatic support
Line Renderer updated with Bezier support

--HG--
branch : develop_5.3
2016-05-23 20:57:56 +01:00
Simon (darkside) Jackson 3b5bdaaa5a Initial check-in for the 1.1 release, fixes include:
* Update to Line Renderer - updated scrip plus patches, now more code friendly for adding points
* New Curved Layout component
* ScrolTo script updated based on authors new version
* UISoftAlphaMask updated to latest version
* Added ScrollSpeed to Horizontal and Vertical Scroll Snap
* Added Scroll Conflict Manager (untested)

ToDo:
* Test Scroll Conflict manager
* Make the distance between pages on the H&V Scroll snaps configurable
* Test Scroll Snap starting page fix
* Review Reorderable List scrolling issue
* Review Reorderable List Worldspace render issue

--HG--
branch : develop_5.3
2016-05-17 13:26:50 +01:00
Sfyne f97dd0ae79 UILineRenderer.cs (fixed first and last point bug, and fixed useless allocations)
--HG--
branch : Sfyne/uilinerenderercs-edited-online-with-bitb-1463305807389
2016-05-15 09:50:49 +00:00
Simon (darkside) Jackson 3b37f7805b Merge upstream re-org from 4.6
--HG--
branch : develop_5.3
2015-12-23 20:40:49 +00:00
Simon (darkside) Jackson e5b16809c8 Upstream Merge fixes with develop_5.2
--HG--
branch : develop_5.3
2015-12-23 15:32:27 +00:00
Simon (darkside) Jackson 38650cc536 Update SoftMaskAlpha with new "fix"
Patched UISelectableExtension from issue #47
Added new UI Polygon control

--HG--
branch : develop_5.2
2015-12-15 22:43:35 +00:00
Davide Ciacco 077fbcbc51 added UIPolygon.cs under Primitives
--HG--
branch : develop_5.2
2015-12-14 17:15:53 +00:00
Simon (darkside) Jackson 12f14b74b8 Merge primitive folder rename from develop_5.2
--HG--
branch : develop_5.3
2015-10-15 12:15:26 +01:00
Simon (darkside) Jackson 7c22a9cb96 Merge primitive foldre rename from develop_4.6
--HG--
branch : develop_5.2
2015-10-15 12:13:42 +01:00
Simon (darkside) Jackson fee79a9549 Renamed Primitive folder
--HG--
branch : develop_4.6
2015-10-15 12:12:04 +01:00