Search Unity

TextMesh Pro issue: TMP & Unity UI Scroll ???[SOLVED]

Discussion in 'UGUI & TextMesh Pro' started by renman3000, Nov 9, 2017.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,699
    Hi there,
    I have an odd issue I can't seem to solve.


    I have a custom script, TMP_Unit, it simply allows me to set colours of TextMeshPro Text [] as an array, so a group I can set... this works fine 99.99% of the time. Except in one instance, where this instance sits as the child with in a Unity UI, Panel, Scroll Rect, View Port, Content.


    For some reason the colours will not alter as commanded, tho I can change other factors like text etc.


    Any ideas?
     
  2. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,699
    Hi, I solved the issue, by using a prefab, from an instance that was working.. tho its still a mystery to me why as they had identical settings....

    Oh well, guess it was something I was doing, just have no idea what.

    Thanks