static public int GraphicUpdateComplete(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.UI.ICanvasElement self = (UnityEngine.UI.ICanvasElement)checkSelf(l); self.GraphicUpdateComplete(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int GraphicUpdateComplete(IntPtr l) { try { UnityEngine.UI.ICanvasElement self = (UnityEngine.UI.ICanvasElement)checkSelf(l); self.GraphicUpdateComplete(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int get_transform(IntPtr l) { try { UnityEngine.UI.ICanvasElement self = (UnityEngine.UI.ICanvasElement)checkSelf(l); pushValue(l, true); pushValue(l, self.transform); return(2); } catch (Exception e) { return(error(l, e)); } }
static int _g_get_transform(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { UnityEngine.UI.ICanvasElement __cl_gen_to_be_invoked = (UnityEngine.UI.ICanvasElement)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.transform); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static public int IsDestroyed(IntPtr l) { try { UnityEngine.UI.ICanvasElement self = (UnityEngine.UI.ICanvasElement)checkSelf(l); var ret = self.IsDestroyed(); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Rebuild(IntPtr l) { try { UnityEngine.UI.ICanvasElement self = (UnityEngine.UI.ICanvasElement)checkSelf(l); UnityEngine.UI.CanvasUpdate a1; checkEnum(l, 2, out a1); self.Rebuild(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static StackObject *RegisterCanvasElementForLayoutRebuild_1(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.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.ICanvasElement element = (UnityEngine.UI.ICanvasElement) typeof(UnityEngine.UI.ICanvasElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); UnityEngine.UI.CanvasUpdateRegistry.RegisterCanvasElementForLayoutRebuild(element); return(__ret); }
static StackObject *LayoutComplete_2(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.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.ICanvasElement instance_of_this_method = (UnityEngine.UI.ICanvasElement) typeof(UnityEngine.UI.ICanvasElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.LayoutComplete(); return(__ret); }
static StackObject *TryRegisterCanvasElementForGraphicRebuild_4(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.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.ICanvasElement element = (UnityEngine.UI.ICanvasElement) typeof(UnityEngine.UI.ICanvasElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.UI.CanvasUpdateRegistry.TryRegisterCanvasElementForGraphicRebuild(element); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return(__ret + 1); }
static StackObject *IsDestroyed_4(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.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.ICanvasElement instance_of_this_method = (UnityEngine.UI.ICanvasElement) typeof(UnityEngine.UI.ICanvasElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.IsDestroyed(); __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return(__ret + 1); }
static StackObject *get_transform_1(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { CSHotFix.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.ICanvasElement instance_of_this_method = (UnityEngine.UI.ICanvasElement) typeof(UnityEngine.UI.ICanvasElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.transform; 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 int _m_RegisterCanvasElementForLayoutRebuild_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { UnityEngine.UI.ICanvasElement _element = (UnityEngine.UI.ICanvasElement)translator.GetObject(L, 1, typeof(UnityEngine.UI.ICanvasElement)); UnityEngine.UI.CanvasUpdateRegistry.RegisterCanvasElementForLayoutRebuild(_element); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_LayoutComplete(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.ICanvasElement __cl_gen_to_be_invoked = (UnityEngine.UI.ICanvasElement)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.LayoutComplete( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_TryRegisterCanvasElementForGraphicRebuild_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { UnityEngine.UI.ICanvasElement _element = (UnityEngine.UI.ICanvasElement)translator.GetObject(L, 1, typeof(UnityEngine.UI.ICanvasElement)); var gen_ret = UnityEngine.UI.CanvasUpdateRegistry.TryRegisterCanvasElementForGraphicRebuild(_element); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_IsDestroyed(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.ICanvasElement __cl_gen_to_be_invoked = (UnityEngine.UI.ICanvasElement)translator.FastGetCSObj(L, 1); try { { bool __cl_gen_ret = __cl_gen_to_be_invoked.IsDestroyed( ); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_Rebuild(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.ICanvasElement __cl_gen_to_be_invoked = (UnityEngine.UI.ICanvasElement)translator.FastGetCSObj(L, 1); try { { UnityEngine.UI.CanvasUpdate executing; translator.Get(L, 2, out executing); __cl_gen_to_be_invoked.Rebuild(executing); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }