Author Topic: new UIImageButton doesn't support UIForwardEvents  (Read 2503 times)

galuodo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 65
    • View Profile
new UIImageButton doesn't support UIForwardEvents
« on: June 13, 2013, 09:28:34 PM »
new UIImageButton which has disable state does not support forward.
for example, OnHover cannot make the target button change the sprite.

Malzbier

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 93
    • View Profile
Re: new UIImageButton doesn't support UIForwardEvents
« Reply #1 on: June 14, 2013, 02:05:49 AM »
If im remember correct, the buttons disable the collider if they are not active  -> no event is called on that game object -> UIForwardEvents does not get called.

galuodo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 65
    • View Profile
Re: new UIImageButton doesn't support UIForwardEvents
« Reply #2 on: June 14, 2013, 04:59:30 AM »
If im remember correct, the buttons disable the collider if they are not active  -> no event is called on that game object -> UIForwardEvents does not get called.

OnHover has also changed

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: new UIImageButton doesn't support UIForwardEvents
« Reply #3 on: June 14, 2013, 05:10:56 PM »
No active collider = no events, it's as simple as that. No events = nothing to forward. When it's disabled -- it's disabled. :P