com.unity.uiextensions/Scripts/Controls
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
..
Accordion Added UI Knob 2016-07-17 19:21:41 +01:00
ComboBox Added UI Knob 2016-07-17 19:21:41 +01:00
HSVPicker Some more restructuring whilst documentation updates continue. 2016-07-18 21:36:36 +01:00
ReorderableList Added UI Knob 2016-07-17 19:21:41 +01:00
RescalingPanels Added UI Knob 2016-07-17 19:21:41 +01:00
SelectionBox Added UI Knob 2016-07-17 19:21:41 +01:00
Accordion.meta Added UI Knob 2016-07-17 19:21:41 +01:00
ComboBox.meta Added UI Knob 2016-07-17 19:21:41 +01:00
HSVPicker.meta Upgrade fix to SAUIM Test shader 2016-09-08 19:04:42 +01:00
ImageExtended.cs Some more restructuring whilst documentation updates continue. 2016-07-18 21:36:36 +01:00
ImageExtended.cs.meta Some more restructuring whilst documentation updates continue. 2016-07-18 21:36:36 +01:00
InputFocus.cs Some more restructuring whilst documentation updates continue. 2016-07-18 21:36:36 +01:00
InputFocus.cs.meta Some more restructuring whilst documentation updates continue. 2016-07-18 21:36:36 +01:00
ReorderableList.meta Added UI Knob 2016-07-17 19:21:41 +01:00
RescalingPanels.meta Added UI Knob 2016-07-17 19:21:41 +01:00
SelectionBox.meta Added UI Knob 2016-07-17 19:21:41 +01:00
TextPic.cs TextPic.cs was not working for href. 2016-09-27 12:38:44 +00:00
TextPic.cs.meta Added UI Knob 2016-07-17 19:21:41 +01:00
UI_Knob.cs Documentation update 2016-07-17 20:56:54 +01:00
UI_Knob.cs.meta Added UI Knob 2016-07-17 19:21:41 +01:00