Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

TextMesh Pro Setting Sorting Layer and Order by Code?

Discussion in 'Unity UI & TextMesh Pro' started by PedroGV, Oct 11, 2018.

  1. PedroGV

    PedroGV

    Joined:
    Nov 1, 2010
    Posts:
    410
    Is it possible to set the sorting-layer id and order -available in extra settings, by code for TMP_Text class?
     
  2. PedroGV

    PedroGV

    Joined:
    Nov 1, 2010
    Posts:
    410
    Anyone?
     
  3. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    2,633
  4. PedroGV

    PedroGV

    Joined:
    Nov 1, 2010
    Posts:
    410
    Done, thanks.

    One more thing: mutli-editing of such two fields is not available on the inspector. Say you select 10 text objects and then change the layer on the inspector for such multiple-selection on the extra settings, you will see that only one of them is changed.
     
    Last edited: Oct 12, 2018