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

UGUI Canvas Problem

Discussion in 'General Discussion' started by tiancaiwrk, Jan 4, 2019.

  1. tiancaiwrk

    tiancaiwrk

    Joined:
    Nov 23, 2017
    Posts:
    35
    hi
    I hava a UGUI layout like the follow
    Canvas1
    -- Button1
    -- Canvas2
    ------ Button2

    And both button has onclick calls, the Button1 works but the Button2 doesn't work, if move the Button2 to the same level as Button1, it works too.
    any one knows WHY ?
    in Unity2017.3.03f
     
  2. tiancaiwrk

    tiancaiwrk

    Joined:
    Nov 23, 2017
    Posts:
    35
    Solved, dont forget to add GraphyRayCaster