Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Problem with responsive UI

Discussion in 'Scripting' started by AMIR_REZAs, May 4, 2020.

  1. AMIR_REZAs

    AMIR_REZAs

    Joined:
    Jan 20, 2014
    Posts:
    54
    Hello
    My UI is entirely responsive except one element, which I needed to change the pivot X option.
    I have set the "scale with the screen" and everything works fine but the element which doesn't have the (0.5,0.5) pivot is not getting responsive.
    What can I do? I really need to change pivot to (0,0.5) and have it responsive.
     
  2. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,091
    Check the Event System what is currently being targetted. If you use a lot of layers in your UI it might be something else is overlapping it. Having the Event System selected you can see what game object your pointer is hovering over.

    As there should be no problem clicking a UI object with any given pivot value.