Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: unitydude on May 24, 2014, 08:30:24 AM

Title: UI Event Trigger is dead on WP8 in 3.6.1
Post by: unitydude 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

Title: Re: UI Event Trigger is dead on WP8 in 3.6.1
Post by: ArenMook 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.
Title: Re: UI Event Trigger is dead on WP8 in 3.6.1
Post by: unitydude on May 24, 2014, 11:18:07 PM
The  second one fixed it , thanks