Author Topic: UICamera.fallThrough  (Read 2585 times)

luvcraft

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 11
    • View Profile
UICamera.fallThrough
« on: October 07, 2014, 02:11:38 PM »
Can you tell me why UICamera.fallThrough now gets set to UIRoot at UICamera.Start()?

Previously if nothing was hovered, it was nice to just get "null" from UICamera.hoveredObject, and also if there are multiple UIRoots in a scene it will default to whichever one started first, even if it's disabled, which is not ideal.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UICamera.fallThrough
« Reply #1 on: October 08, 2014, 01:11:04 PM »
Replace your UICamera.fallThrough == null check with UICamera.fallThrough == UICamera.list[0].

The change was necessary in order to make new generic delegates work (UICamera.onClick etc).