Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Buttons in Scene are Blocking Scroll Rect

Discussion in 'UGUI & TextMesh Pro' started by Draconikard, Apr 29, 2021.

  1. Draconikard

    Draconikard

    Joined:
    Apr 3, 2020
    Posts:
    6
    I am creating a task managing system in my application. New tasks are created via a button press and a line of Instantiate code (C#). These tasks reside with a content box in a Scroll Rect component. However, because they are on top of the scrolling box, you cannot drag up and down to scroll the list of tasks. This game is for mobile devices, and so this functionality is very much needed. Any help would be appreciated. I hope I have explained it well enough.

    I have heard that it may be possible to implement a ray cast from the position of the mouse that goes through the tasks on top, but I have no idea how I would make the pre-made UI game object respond to that.