Author Topic: 3.7.4 Events go to .... option only applies to First camera  (Read 1938 times)

KeithT

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 55
    • View Profile
3.7.4 Events go to .... option only applies to First camera
« on: October 10, 2014, 03:43:31 AM »
After a day debugging (yay!) why another NGUI upgrade (3.7.4) breaks our stuff again (http://www.tasharen.com/forum/index.php?topic=11117.0 ), it appears that this new option re events to colliders or rigidbodies, is only set on the First Camera and it's always FALSE on all other cameras, even though it can only be set on the First camera.


« Last Edit: October 10, 2014, 04:01:40 AM by KeithT »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 3.7.4 Events go to .... option only applies to First camera
« Reply #1 on: October 11, 2014, 04:00:56 AM »
Hmm... curious, thanks for investigating it. If you change line 743 of UICamera.cs from
  1. if (!cam.eventsGoToColliders)
to
[/code]if (!list[0].eventsGoToColliders)[/code]
...does the issue resolve itself?

KeithT

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 55
    • View Profile
Re: 3.7.4 Events go to .... option only applies to First camera
« Reply #2 on: January 12, 2015, 11:52:20 AM »
Just upgraded to 3.7.8 from 3.7.4 and this change does seem to fix it. Thanks