I hope that this isn't too vague, because I'm particularly confused by this.
I have watched the tutorials multiple times and I see that Tween animations are triggered for buttons by adding a reference to the sprite that already contains the script, and then sets it to Tween.position for playing. However I don't appear to have the same luck when performing that operation.
When I try to link a tween position script to my buttons onclick function I get these errors:
AmbiguousMatchException: Ambiguous matching in method resolution
System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/Binder.cs:106)
System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/MonoType.cs:245)
System.Type.GetMethod (System.String name, BindingFlags bindingAttr) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Type.cs:787)
EventDelegate.Cache () (at Assets/NGUI/Scripts/Internal/EventDelegate.cs:336)
EventDelegate.get_parameters () (at Assets/NGUI/Scripts/Internal/EventDelegate.cs:156)
EventDelegateEditor.Field (UnityEngine.Object undoObject, .EventDelegate del, Boolean removeButton) (at Assets/NGUI/Scripts/Editor/EventDelegateEditor.cs:148)
EventDelegateEditor.Field (UnityEngine.Object undoObject, .EventDelegate del) (at Assets/NGUI/Scripts/Editor/EventDelegateEditor.cs:63)
EventDelegateEditor.Field (UnityEngine.Object undoObject, System.Collections.Generic.List`1 list, System.String noTarget, System.String notValid) (at Assets/NGUI/Scripts/Editor/EventDelegateEditor.cs:271)
NGUIEditorTools.DrawEvents (System.String text, UnityEngine.Object undoObject, System.Collections.Generic.List`1 list, System.String noTarget, System.String notValid) (at Assets/NGUI/Scripts/Editor/NGUIEditorTools.cs:1328)
NGUIEditorTools.DrawEvents (System.String text, UnityEngine.Object undoObject, System.Collections.Generic.List`1 list) (at Assets/NGUI/Scripts/Editor/NGUIEditorTools.cs:1317)
UIButtonEditor.DrawProperties () (at Assets/NGUI/Scripts/Editor/UIButtonEditor.cs:68)
UIButtonColorEditor.OnInspectorGUI () (at Assets/NGUI/Scripts/Editor/UIButtonColorEditor.cs:23)
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Inspector/InspectorWindow.cs:850)
UnityEditor.DockArea:OnGUI()
Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEditor.DockArea:OnGUI()
I don't really understand what I'm doing wrong.
If someone could I would appreciate having any mistakes I am making pointed out?