static StackObject *CrossFadeAlpha_29(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @ignoreTimeScale = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Single @duration = *(float *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Single @alpha = *(float *)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.UI.Graphic instance_of_this_method = (UnityEngine.UI.Graphic) typeof(UnityEngine.UI.Graphic).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.CrossFadeAlpha(@alpha, @duration, @ignoreTimeScale); return(__ret); }
static int _m_CrossFadeAlpha(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); UnityEngine.UI.Graphic __cl_gen_to_be_invoked = (UnityEngine.UI.Graphic)translator.FastGetCSObj(L, 1); try { { float alpha = (float)LuaAPI.lua_tonumber(L, 2); float duration = (float)LuaAPI.lua_tonumber(L, 3); bool ignoreTimeScale = LuaAPI.lua_toboolean(L, 4); __cl_gen_to_be_invoked.CrossFadeAlpha(alpha, duration, ignoreTimeScale); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }