Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity UI UI Panel on top of UI panel problems

Discussion in 'UGUI & TextMesh Pro' started by pKallv, Oct 31, 2018.

  1. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,125
    I am positioning a UI panel, and/or image, on top of another panel and tried to use it as a popup menu. I have a few problems:

    1) I have added a canvas to the object but then the buttons placed on the top panel does not work.

    2) I have not been able to shield the objects on the bottom panel, like buttons, from being accessible without disable each one of them separately. I am trying to put a "protection" panel so the user cannot click anything during the time it is active.

    I have tried different things found on the web but not succeeded and need some advise.
     
  2. zyzyx

    zyzyx

    Joined:
    Jul 9, 2012
    Posts:
    226
    In your popup panel add an Image. Set the anchors to fully stretch your canvas. Make the Image fully transparent and check the Raycast Target box.
    I hope this helps :)

    upload_2018-10-31_11-28-6.png