Author Topic: Type `UIInput' does not contain a definition for `ProcessEvent'  (Read 3485 times)

fredrik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Type `UIInput' does not contain a definition for `ProcessEvent'
« on: September 24, 2014, 05:30:59 AM »
Hey guys,

Im having som build problems. All works fine when i run inside unity and also when i build a native app for os x and web. However, when i try to build for iOS i get this error. Any ideas ?

Assets/NGUI/Scripts/UI/UIInputOnGUI.cs(29,32): error CS1061: Type `UIInput' does not contain a definition for `ProcessEvent' and no extension method `ProcessEvent' of type `UIInput' could be found (are you missing a using directive or an assembly reference?)

Fredrik

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Type `UIInput' does not contain a definition for `ProcessEvent'
« Reply #1 on: September 24, 2014, 02:34:09 PM »
Pro user, I take it. I added that feature... yesterday I think? :)

Add this to the top of UIInputOnGUI.cs:
  1. #if !UNITY_EDITOR && (UNITY_IPHONE || UNITY_ANDROID || UNITY_WP8 || UNITY_BLACKBERRY || UNITY_WINRT)
  2. #define MOBILE
  3. #endif
...or just pull the latest.

fredrik

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Type `UIInput' does not contain a definition for `ProcessEvent'
« Reply #2 on: September 24, 2014, 03:15:53 PM »
Yes, pro since yesterday! :)

Cheers,
Works like a charm. Do you have any stable branches ?

Fredrik

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Type `UIInput' does not contain a definition for `ProcessEvent'
« Reply #3 on: September 25, 2014, 06:54:26 PM »
It's all stable. I do dev work in the Windward branch which you don't see. Every once in a while something sneaks into the main trunk though, but that's to be expected.