Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: fredrik on September 24, 2014, 05:30:59 AM

Title: Type `UIInput' does not contain a definition for `ProcessEvent'
Post by: fredrik 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
Title: Re: Type `UIInput' does not contain a definition for `ProcessEvent'
Post by: ArenMook 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.
Title: Re: Type `UIInput' does not contain a definition for `ProcessEvent'
Post by: fredrik on September 24, 2014, 03:15:53 PM
Yes, pro since yesterday! :)

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

Fredrik
Title: Re: Type `UIInput' does not contain a definition for `ProcessEvent'
Post by: ArenMook 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.