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

Question World Space and Overlay Canvas

Discussion in 'Immediate Mode GUI (IMGUI)' started by ayeshamahaboob8, May 6, 2023.

  1. ayeshamahaboob8


    Oct 10, 2022
    In my 3d mobile game, i have made a world space canvas where i stored the interaction buttons on top of each item which can be picked, the canvas always faces the player camera and only appears when u go near the item, so u can click the button to pick the item. But in my main canvas, i have an ui image which takes up 75% of canvas (its just the way i implemented the look around). This ui image does not let me interact with the buttons in the world space canvas. At first i couldnt find out why i was unable to press the buttons in the world space canvas, but i just happened to press the button thorugh the 25% of the main canvas which dint have any ui image covered, and it clicked. Thats when i found out that this image was blocking my interaction with the button in the world space canvas. Im still new to unity... :D
    xucian likes this.