Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Hayato on October 05, 2021, 10:31:12 AM

Title: Action "UI Event System Current Ray Cast All" only add bottom object in array .
Post by: Hayato on October 05, 2021, 10:31:12 AM
(https://images.plurk.com/4YVY9eyHSFS2kN8h6zFMNJ.gif)

When using action "UI Event System Current Ray Cast All" check with 3 overlaped images .
It can count how many ui images hit by raycast correctly , and list array size as 3 , but only the bottom image object add into array , others show as empty .
Is that a normal result of "UI Event System Current Ray Cast All" ?

Or is there another way to know if a touch point inside a ui object ? Also tried "RectTransformContainsScreenPoint" and it work some what stanger after device orientation .

Test Environment :
Win10 x64
Unity 2019.3.16 & 2019.4.14
PlayMaker 1.9.3f4