Post by zageron on Apr 12, 2015 1:15:55 GMT
The following two errors occur on every instance of pressing/holding an NGUI button which has the EventSounds.cs script attached.
It doesn't look like you have OnSelect or OnDrag implemented for NGUI objects, so the Unity / UGUI functions are intercepting them instead?
Any feedback appreciated, let me know if I can get you anything else.
Thanks,
It doesn't look like you have OnSelect or OnDrag implemented for NGUI objects, so the Unity / UGUI functions are intercepting them instead?
Any feedback appreciated, let me know if I can get you anything else.
Thanks,
MissingMethodException: The best match for method OnSelect has some invalid parameter.
at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) [0x00655] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoType.cs:525
at UnityEngine.SetupCoroutine.InvokeMember (System.Object behaviour, System.String name, System.Object variable) [0x00013] in C:\buildslave\unity\build\Runtime\Export\Coroutines.cs:18
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UICamera:Notify(GameObject, String, Object) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1098)
UICamera:set_selectedObject(GameObject) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:540)
UICamera:ProcessPress(Boolean, Single, Single) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1790)
UICamera:ProcessTouch(Boolean, Boolean) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1975)
UICamera:ProcessMouse() (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1475)
UICamera:ProcessTouches() (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1595)
UICamera:Update() (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1257)
(Filename: /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoType.cs Line: 525)
MissingMethodException: The best match for method OnDrag has some invalid parameter.
at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) [0x00655] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System/MonoType.cs:525
at UnityEngine.SetupCoroutine.InvokeMember (System.Object behaviour, System.String name, System.Object variable) [0x00013] in C:\buildslave\unity\build\Runtime\Export\Coroutines.cs:18
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
UICamera:Notify(GameObject, String, Object) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1098)
UICamera:ProcessPress(Boolean, Single, Single) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1850)
UICamera:ProcessTouch(Boolean, Boolean) (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1956)
UICamera:ProcessMouse() (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1475)
UICamera:ProcessTouches() (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1595)
UICamera:Update() (at C:\Users\FHGDEV03-USER\Documents\eonaltar\Assets\3rdParty\NGUI\Scripts\UI\UICamera.cs:1257)