Author Topic: Problems with Events and Multiple Displays  (Read 4953 times)

Mark Hyett

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Problems with Events and Multiple Displays
« on: August 01, 2016, 05:33:13 PM »
I'm having some difficulty using NGUI with multiple displays.  I have set up two panels each with their own camera and each with a single button.  I have modified the camera's culling masks and target displays to display each button on separate displays.  This seems to work correctly. 

The problem is that events seem to go across displays.  For example, display 1's button is in the upper left and display 2's button in the upper right.  Clicking in the upper left of display 1 will correctly click the button.  However, clicking in the upper left of display 2 will also click the button.  I have set each of the UI Camera's Event Masks to only trigger their respective buttons but this does not seem to make any difference.  The problem manifests itself within the Unity editor as well as compiled and run standalone. 

Any recommendations would be appreciated.  Thanks.

My setup is:

Windows 10
Unity Pro v5.4.0f3
NGUI v3.10.0

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problems with Events and Multiple Displays
« Reply #1 on: August 03, 2016, 10:00:32 AM »
Hmm... I might need a repro case to have a look at. Can you send me one to support [at] tasharen.com?

Mark Hyett

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Problems with Events and Multiple Displays
« Reply #2 on: August 03, 2016, 01:10:25 PM »
As requested, I just sent a simple example project.  Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problems with Events and Multiple Displays
« Reply #3 on: August 05, 2016, 10:43:43 AM »
Yup, got it, thanks. I'll reply to your email directly when I look into it.