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.3pull/413/head
commit
32d8a82e05
|
@ -190,7 +190,7 @@ namespace UnityEngine.UI.Extensions
|
|||
protected override void OnPopulateMesh(VertexHelper toFill)
|
||||
{
|
||||
var orignText = m_Text;
|
||||
m_Text = m_OutputText;
|
||||
m_Text = GetOutputText();
|
||||
base.OnPopulateMesh(toFill);
|
||||
m_Text = orignText;
|
||||
positions.Clear();
|
||||
|
|
Loading…
Reference in New Issue