Search Unity

Resolved How to make World Space Canvas be on top of Overlay Canvas?

Discussion in 'UGUI & TextMesh Pro' started by Gamadrila, Nov 19, 2022.

  1. Gamadrila

    Gamadrila

    Joined:
    Sep 5, 2021
    Posts:
    142
    66.png

    Hello everyone. Is it possible to do this so that the circular menu is on top of the main menu?
     
  2. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    The Overlay canvas is a separate rendering layer, so it is not possible to render other 3D content on top of it.

    However, if you use a "ScreenSpace-Camera" canvas, then yes.

    But if your content is screen aligned rather than world aligned, it might be better to use then both as ScreenSpace-camera canvases and simply scale/position the "game" UI drawn on top of the menu UI.
     
    Gamadrila likes this.
  3. Prosto_Lyubo

    Prosto_Lyubo

    Joined:
    Aug 15, 2013
    Posts:
    18
    That's great. Can you share how? Changing sort layer, sort order and plane distance does not change a thing.