Commit Graph

84 Commits (9746d1f7db0752e2fcd37df886597878797eb16b)

Author SHA1 Message Date
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
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
Simon Jackson b2ae5db354 Update for pre-release
--HG--
branch : develop_5.3
2016-12-31 15:59:57 +00:00
Simon Jackson f0ba3cfae5 Minor fixes and additions
Updates to resolve reports in Issue #80

--HG--
branch : develop_5.3
2016-12-29 22:03:04 +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 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
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
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 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