using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using UnityFusion.CLR.TypeSystem; using UnityFusion.CLR.Method; using UnityFusion.Runtime.Enviorment; using UnityFusion.Runtime.Intepreter; using UnityFusion.Runtime.Stack; using UnityFusion.Reflection; using UnityFusion.CLR.Utils; #if DEBUG && !DISABLE_UNITYFUSION_DEBUG using AutoList = System.Collections.Generic.List; #else using AutoList = UnityFusion.Other.UncheckedList; #endif namespace UnityFusion.Runtime.Generated { unsafe class UnityEngine_UI_Scrollbar_Binding { public static void Register(UnityFusion.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; MethodBase method; Type[] args; Type type = typeof(UnityEngine.UI.Scrollbar); args = new Type[]{}; method = type.GetMethod("get_handleRect", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_handleRect_0); args = new Type[]{typeof(UnityEngine.RectTransform)}; method = type.GetMethod("set_handleRect", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_handleRect_1); args = new Type[]{}; method = type.GetMethod("get_direction", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_direction_2); args = new Type[]{typeof(UnityEngine.UI.Scrollbar.Direction)}; method = type.GetMethod("set_direction", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_direction_3); args = new Type[]{}; method = type.GetMethod("get_value", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_value_4); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_value", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_value_5); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("SetValueWithoutNotify", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetValueWithoutNotify_6); args = new Type[]{}; method = type.GetMethod("get_size", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_size_7); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_size", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_size_8); args = new Type[]{}; method = type.GetMethod("get_numberOfSteps", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_numberOfSteps_9); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_numberOfSteps", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_numberOfSteps_10); args = new Type[]{}; method = type.GetMethod("get_onValueChanged", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_onValueChanged_11); args = new Type[]{typeof(UnityEngine.UI.Scrollbar.ScrollEvent)}; method = type.GetMethod("set_onValueChanged", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_onValueChanged_12); args = new Type[]{typeof(UnityEngine.UI.CanvasUpdate)}; method = type.GetMethod("Rebuild", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Rebuild_13); args = new Type[]{}; method = type.GetMethod("LayoutComplete", flag, null, args, null); app.RegisterCLRMethodRedirection(method, LayoutComplete_14); args = new Type[]{}; method = type.GetMethod("GraphicUpdateComplete", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GraphicUpdateComplete_15); args = new Type[]{typeof(UnityEngine.EventSystems.PointerEventData)}; method = type.GetMethod("OnBeginDrag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnBeginDrag_16); args = new Type[]{typeof(UnityEngine.EventSystems.PointerEventData)}; method = type.GetMethod("OnDrag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnDrag_17); args = new Type[]{typeof(UnityEngine.EventSystems.PointerEventData)}; method = type.GetMethod("OnPointerDown", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnPointerDown_18); args = new Type[]{typeof(UnityEngine.EventSystems.PointerEventData)}; method = type.GetMethod("OnPointerUp", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnPointerUp_19); args = new Type[]{typeof(UnityEngine.EventSystems.AxisEventData)}; method = type.GetMethod("OnMove", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnMove_20); args = new Type[]{}; method = type.GetMethod("FindSelectableOnLeft", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindSelectableOnLeft_21); args = new Type[]{}; method = type.GetMethod("FindSelectableOnRight", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindSelectableOnRight_22); args = new Type[]{}; method = type.GetMethod("FindSelectableOnUp", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindSelectableOnUp_23); args = new Type[]{}; method = type.GetMethod("FindSelectableOnDown", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FindSelectableOnDown_24); args = new Type[]{typeof(UnityEngine.EventSystems.PointerEventData)}; method = type.GetMethod("OnInitializePotentialDrag", flag, null, args, null); app.RegisterCLRMethodRedirection(method, OnInitializePotentialDrag_25); args = new Type[]{typeof(UnityEngine.UI.Scrollbar.Direction), typeof(System.Boolean)}; method = type.GetMethod("SetDirection", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetDirection_26); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.UI.Scrollbar[s]); } static StackObject* get_handleRect_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.handleRect; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_handleRect_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.RectTransform @value = (UnityEngine.RectTransform)typeof(UnityEngine.RectTransform).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.handleRect = value; return __ret; } static StackObject* get_direction_2(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.direction; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_direction_3(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar.Direction @value = (UnityEngine.UI.Scrollbar.Direction)typeof(UnityEngine.UI.Scrollbar.Direction).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.direction = value; return __ret; } static StackObject* get_value_4(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.value; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_value_5(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.value = value; return __ret; } static StackObject* SetValueWithoutNotify_6(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @input = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.SetValueWithoutNotify(@input); return __ret; } static StackObject* get_size_7(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.size; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_size_8(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.size = value; return __ret; } static StackObject* get_numberOfSteps_9(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.numberOfSteps; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_numberOfSteps_10(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @value = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.numberOfSteps = value; return __ret; } static StackObject* get_onValueChanged_11(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.onValueChanged; object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_onValueChanged_12(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar.ScrollEvent @value = (UnityEngine.UI.Scrollbar.ScrollEvent)typeof(UnityEngine.UI.Scrollbar.ScrollEvent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.onValueChanged = value; return __ret; } static StackObject* Rebuild_13(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.CanvasUpdate @executing = (UnityEngine.UI.CanvasUpdate)typeof(UnityEngine.UI.CanvasUpdate).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Rebuild(@executing); return __ret; } static StackObject* LayoutComplete_14(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.LayoutComplete(); return __ret; } static StackObject* GraphicUpdateComplete_15(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.GraphicUpdateComplete(); return __ret; } static StackObject* OnBeginDrag_16(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.EventSystems.PointerEventData @eventData = (UnityEngine.EventSystems.PointerEventData)typeof(UnityEngine.EventSystems.PointerEventData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnBeginDrag(@eventData); return __ret; } static StackObject* OnDrag_17(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.EventSystems.PointerEventData @eventData = (UnityEngine.EventSystems.PointerEventData)typeof(UnityEngine.EventSystems.PointerEventData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnDrag(@eventData); return __ret; } static StackObject* OnPointerDown_18(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.EventSystems.PointerEventData @eventData = (UnityEngine.EventSystems.PointerEventData)typeof(UnityEngine.EventSystems.PointerEventData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnPointerDown(@eventData); return __ret; } static StackObject* OnPointerUp_19(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.EventSystems.PointerEventData @eventData = (UnityEngine.EventSystems.PointerEventData)typeof(UnityEngine.EventSystems.PointerEventData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnPointerUp(@eventData); return __ret; } static StackObject* OnMove_20(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.EventSystems.AxisEventData @eventData = (UnityEngine.EventSystems.AxisEventData)typeof(UnityEngine.EventSystems.AxisEventData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnMove(@eventData); return __ret; } static StackObject* FindSelectableOnLeft_21(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.FindSelectableOnLeft(); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* FindSelectableOnRight_22(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.FindSelectableOnRight(); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* FindSelectableOnUp_23(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.FindSelectableOnUp(); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* FindSelectableOnDown_24(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.FindSelectableOnDown(); object obj_result_of_this_method = result_of_this_method; if(obj_result_of_this_method is CrossBindingAdaptorType) { return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); } return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* OnInitializePotentialDrag_25(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.EventSystems.PointerEventData @eventData = (UnityEngine.EventSystems.PointerEventData)typeof(UnityEngine.EventSystems.PointerEventData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.OnInitializePotentialDrag(@eventData); return __ret; } static StackObject* SetDirection_26(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @includeRectLayouts = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.Scrollbar.Direction @direction = (UnityEngine.UI.Scrollbar.Direction)typeof(UnityEngine.UI.Scrollbar.Direction).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.UI.Scrollbar instance_of_this_method = (UnityEngine.UI.Scrollbar)typeof(UnityEngine.UI.Scrollbar).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.SetDirection(@direction, @includeRectLayouts); return __ret; } } }