Search Unity

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)