Author Topic: UI Event Trigger is dead on WP8 in 3.6.1  (Read 4304 times)

unitydude

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
    • View Profile
UI Event Trigger is dead on WP8 in 3.6.1
« on: May 24, 2014, 08:30:24 AM »
All my UI is not working now on WP8 , I confirm it worked on 3.8.9 .

When I touch a sprite the scale/highlige and sound is ok except the message  (OnPress/Release )  it does not go through

Its fine in WSA

« Last Edit: May 24, 2014, 08:39:42 AM by unitydude »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UI Event Trigger is dead on WP8 in 3.6.1
« Reply #1 on: May 24, 2014, 04:06:51 PM »
WSA and WP8 differ, you can see the difference in EventDelegate.Cache. WP8 should be executing line 358, and it's either:
  1. mMethod = type.GetMethod(mMethodName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
or
  1. mMethod = type.GetMethod(mMethodName);
...depending on when you grabbed the update. If it's not one, try the other, let me know which one works.

unitydude

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: UI Event Trigger is dead on WP8 in 3.6.1
« Reply #2 on: May 24, 2014, 11:18:07 PM »
The  second one fixed it , thanks