Commit Graph

142 Commits (ac07bc554ac341c31e83ddce6b7d6999543dd154)

Author SHA1 Message Date
Simon Jackson ac07bc554a Updated new Softmask Script to UI Extensions standards. Removed unneeded Text shader and cleaned up.
--HG--
branch : develop_5.3
2016-12-24 12:27:42 +00:00
valtain@gmail.com af8abe9551 Softmask fix
maskRect in canvas space not in world space

--HG--
branch : develop_5.3
2016-12-24 18:03:52 +09:00
valtain@gmail.com 5ed1e48cb2 Recomit softmask fix
--HG--
branch : develop_5.3
2016-12-24 05:18:01 +09:00
Simon Jackson 32d8a82e05 Merged in sushanta1991/unity-ui-extensions-2/sushanta1991/-onpopulatemesh-was-getting-called-befor-1480940993474 (pull request #31)
// OnPopulateMesh() was getting called before m_OutputText was updated in function UpdateQuadImage(), Due to this, m_HrefInfos.boxes where not getting created, which in further resulted into non clickable text. This is happening in Unity5.5.

--HG--
branch : develop_5.3
2016-12-21 19:09:24 +00:00
Simon Jackson f98aa18981 A little tidying of the ScrollSnap base script, nothing to see here :D
--HG--
branch : develop_5.3
2016-12-21 18:50:42 +00:00
Simon Jackson 94f857d203 Remaining issues resolved.
Now to double check YT and BB for any remaining unresolved issues

--HG--
branch : develop_5.3
2016-12-21 17:51:38 +00:00
Simon Jackson a72c45e02a Almost complete:
* Scrolling - working
* Fast Swipe - working (as well as Unity can fast swipe :S)
* Mask with only visible items - working
* Jump to page - working

Just found a bug with removing / adding items

--HG--
branch : develop_5.3
2016-12-21 16:52:19 +00:00
Simon Jackson 4bd100c7e9 Initial check-in of visible ony VSS (HSS yet to be updated)
--HG--
branch : develop_5.3
2016-12-18 22:51:16 +00:00
Simon Jackson d101a574c8 Removed arrays from control and refactored, heavy perf inprovement
Downside it made my "visible" improvement redundant and need to re-implement.

--HG--
branch : develop_5.3
2016-12-10 13:36:28 +00:00
sushanta chakraborty ec0292b579 // OnPopulateMesh() was getting called before m_OutputText was updated in function UpdateQuadImage(), Due to this, m_HrefInfos.boxes where not getting created, which in further resulted into non clickable text. This is happening in Unity5.5.
So what i did is i assigned m_Text = GetOutputText(); directly in  OnPopulateMesh() function, which solved the problem.

--HG--
branch : sushanta1991/-onpopulatemesh-was-getting-called-befor-1480940993474
2016-12-05 12:29:57 +00:00
Simon Jackson 5cbfc70e30 Refactored general code for HSS / VSS in to base class
Fixed issue with add/remove pages where positions were not recalculated

--HG--
branch : develop_5.3
2016-12-05 10:15:48 +00:00
Simon Jackson 74ef2ca4e7 Fixed paging / smooth scrolling with the HSS / VSS
Current page now updated correctly while scrolling

--HG--
branch : develop_5.3
2016-12-04 20:06:03 +00:00
Simon Jackson c46453655e Removed old HSV picker and replaced with initial version of the new COlorPicker.
Includes some other new controls such as Box Slider and Color Slider.
Still needs some cleaning up as this is the initial check-in

--HG--
branch : develop_5.3
2016-11-25 09:27:29 +00:00
Simon Jackson c97b4f8a99 TextPic update and fix
--HG--
branch : develop_5.3
2016-11-24 17:48:51 +00:00
Simon Jackson 76e5049023 Fixed and tested HSS & VSS use with Scroll COnflict Manager.
HSS & VSS controls now play nicely together
Added new version of Gradient

--HG--
branch : develop_5.3
2016-11-15 23:48:44 +00:00
Simon Jackson 1730965a44 Added Start and End move events to the HSS & VSS controls
--HG--
branch : develop_5.3
2016-11-15 18:09:13 +00:00
Simon Jackson 2de76cf7a3 Perfromance tweaks for H & V scroll snaps.
Updated create option
Matched Size options from HSS update in to VSS

--HG--
branch : develop_5.3
2016-11-15 14:52:34 +00:00
Simon Jackson cb535507a4 Updated H & V scroll snap starting page and button navigation
Updated H & V jump function to only accept values with in page range

--HG--
branch : develop_5.3
2016-11-15 13:36:50 +00:00
sushanta chakraborty 18cf84b4d0 TextPic.cs Added Fix for href tag, which was not working. Added support for multiple href tag with same name.
--HG--
branch : sushanta1991/textpiccs-was-not-working-for-href-unit-1474979920532
2016-09-28 06:56:06 +00:00
sushanta chakraborty b75a03963e TextPic.cs Added Fix for href tag, which was not working.
--HG--
branch : sushanta1991/textpiccs-was-not-working-for-href-unit-1474979920532
2016-09-28 05:29:33 +00:00
sushanta chakraborty 292fb39c93 TextPic.cs was not working for href.
Unity-UI-Extensions helped me a lot thanks for creating it.

Today i was trying href tag provided with TextPic.cs, but unfortunately it was not working.

I figured out that, OnPopulateMesh() was creating hrefInfo.boxes but at the end when OnPopulateMesh() calls UpdateQuadImage(), hrefInfo.boxes.count was coming 0. This was little strange but i saw that GetOutputText() was re-creating m_HrefInfos array from scratch but it didn't include the code to add boxes, so this was the issue.

so what i did is, i commented this line m_HrefInfos.Clear(); in GetOutputText() and added few lines of code to check if m_HrefInfos elements exists than don't destroy it, just update it with new values.
This helped in resolving the issue. Now i was getting onClick event on href tag.

Thanks

--HG--
branch : sushanta1991/textpiccs-was-not-working-for-href-unit-1474979920532
2016-09-27 12:38:44 +00:00
darkside@xna-uk.net 154c9c8d31 Upgrade fix to SAUIM Test shader
Removed some experimental code that sneaked in to a commit

--HG--
branch : develop_5.3
2016-09-08 19:04:42 +01:00
Shawn Featherly 6887b20915 HorizontalScrollSnap.cs works well with AnchorMinMax.
--HG--
branch : Feddas/horizontalscrollsnapcs-works-well-with-a-1472852283807
2016-09-02 21:38:06 +00:00
playemgames f324f58076 Hack to clear out culled images to properly position them instead of reuse images.
--HG--
branch : playemgames/hack-to-clear-out-culled-images-to-prope-1470396744892
2016-08-05 11:36:19 +00:00
playemgames 4ede5c9576 Added OnValidate and UpdateQuadImage(); to OnPopulateMesh(); to position the images correctly on text input.
--HG--
branch : playemgames/added-onvalidate-and-updatequadimage-to--1469821382746
2016-07-29 19:43:04 +00:00
Simon Jackson 006ad7311f H & V Scroll snap fixes to resolve #91
--HG--
branch : develop_5.3
2016-07-21 17:25:34 +01:00
Simon Jackson ee300b4079 Some more restructuring whilst documentation updates continue.
Hopefully last breaking changes.

--HG--
branch : develop_5.3
2016-07-18 21:36:36 +01:00
Simon Jackson 6796c319a3 Documentation update
--HG--
branch : develop_5.3
2016-07-17 20:56:54 +01:00
Simon Jackson e105d9f2dd Added UI Knob
Restructured controls in to their own folder.  If we are breaking Bkcompat, might as well make it a good one

--HG--
branch : develop_5.3
2016-07-17 19:21:41 +01:00
Simon Jackson c9fb580364 Added TextPic component from #89
Added Override Highlighted option to drop down to fix #87

--HG--
branch : develop_5.3
2016-07-14 18:48:18 +01:00
Simon Jackson d0b72e5307 Project tidy up
--HG--
branch : develop_5.3
2016-07-08 11:45:58 +01:00
Simon Jackson a5b08f312b Project restructure as per issue #79
Note, will need old folder removing and new project adding in upgrade to tidy up

--HG--
branch : develop_5.3
2016-07-02 15:02:13 +01:00
Simon Jackson 4547716f3e Patched Particle System with fixes from author
Added 3 new Utility controls

--HG--
branch : develop_5.3
2016-07-02 14:50:37 +01:00
Simon (darkside) Jackson 4fd51c9d41 Patch fixes from regression testing in 5.2.
Unit Tests fixed to 5.3 plus due to dependancy on Unity Test Tools (which also have issues in 5.2 :D)

--HG--
branch : develop_5.3
2016-06-03 18:04:48 +01:00
Simon (darkside) Jackson 58b7a26f1a Patch to compression tests. Transform Surrogate is not implemented
Added DragCorrector and PPIViewer utilities

--HG--
branch : develop_5.3
2016-06-03 17:36:55 +01:00
Simon (darkside) Jackson 841d8dbd92 Added ReadME files for the compression and serialization components
--HG--
branch : develop_5.3
2016-06-03 10:26:37 +01:00
Simon (darkside) Jackson 7aed82c821 Some minor updates to the shader scripts
Added the new Compression and Serialization utilities.  Completely not UI but too awesome not to add

--HG--
branch : develop_5.3
2016-06-02 22:05:21 +01:00
Simon (darkside) Jackson 8178bfc7c6 Added new UI shaders plus supporting scripts
Updated and tested the ScrollConflictManager
Updated UIParticle system and tested

Final checks and docs update for 1.1 release next

--HG--
branch : develop_5.3
2016-05-30 22:47:46 +01:00
Simon (darkside) Jackson 03c2e4d81f Numerous fixes to HSS / VSS - added warning not to use scrollbars
Added fix for reorderable list last item issue
Fixed UI Vertical scroller demo - swapped year and day round as it was confusing
UI Selectable fix for onDisable to set as unpressed
Added new Shine Effect control

1.1 release coding done.  Next update release notes and test

--HG--
branch : develop_5.3
2016-05-28 00:04:08 +01: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 df39a76f3c Added patch to limit the Reorderable List component to Screenspace-Overlay canvases for now to avoid issues until it can be updated.
--HG--
branch : develop_5.3
2016-05-23 21:30:06 +01:00
Simon (darkside) Jackson 2b0c2d805a Added "Go to Screen" option for HSS and VSS by request
--HG--
branch : develop_5.3
2016-05-23 21:10:17 +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 ca29aabed3 Added tooltips to new properties on V & H ScrollSnaps
Moved new ScrollConflictManager script to correct place

--HG--
branch : develop_5.3
2016-05-17 22:46:37 +01:00
Simon (darkside) Jackson 3d39d1da47 Updated Vertical and Horrizontal Scroll Snaps controls to include:
* Tranisition speed
* Starting page
* Page Snap size (to control distribution of pages)

Resolves requested issues / fixes

--HG--
branch : develop_5.3
2016-05-17 22:37:01 +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
Simon Jackson f797c63cea Merged in freezyexp/unity-ui-extensions/default (pull request #22)
Default

--HG--
branch : develop_5.3
2016-05-15 16:25:12 +01:00
Simon Jackson 7d42a9cdc0 Merged in srinivassunil/unity-ui-extensions-fixes (pull request #21)
Develop_5.3

--HG--
branch : develop_5.3
2016-05-15 16:24:31 +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