Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Sorting layer of TextMesh Pro isn't working

Discussion in 'UGUI & TextMesh Pro' started by ManoKristos, Aug 27, 2022.

  1. ManoKristos

    ManoKristos

    Joined:
    Aug 5, 2015
    Posts:
    23
    I have tried all possible ways to change the layer of Text (its default is UI, I changed it to "4: Water" then "2: Ignore Raycast", "1: TransparentFX" I even created my own layer "3: Random" and set layer of Text to it and changed the layer of cube to higher layer like "5: UI" and all other layers.. sorting layers in canvas renderer component isn't there that's why I tried to change layer of gameobject itself.

    Simply, how to make this cube above this number(which is TextMesh Pro) ?
     

    Attached Files:

  2. ManoKristos

    ManoKristos

    Joined:
    Aug 5, 2015
    Posts:
    23
    Solved.

    Duplicated my canvas render type from layout to camera (dropped main camera game object)