Commit Graph

7 Commits (292fb39c9396cff0146ff44591994b9e318b1712)

Author SHA1 Message Date
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