static int _s_set_OnAnimationPlayEnd(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LQQ.DuckHuntLuaUMovie gen_to_be_invoked = (LQQ.DuckHuntLuaUMovie)translator.FastGetCSObj(L, 1); gen_to_be_invoked.OnAnimationPlayEnd = (UnityEngine.Events.UnityEvent)translator.GetObject(L, 2, typeof(UnityEngine.Events.UnityEvent)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_PlayOnEnable(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LQQ.DuckHuntLuaUMovie gen_to_be_invoked = (LQQ.DuckHuntLuaUMovie)translator.FastGetCSObj(L, 1); gen_to_be_invoked.PlayOnEnable = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_LSprites(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LQQ.DuckHuntLuaUMovie gen_to_be_invoked = (LQQ.DuckHuntLuaUMovie)translator.FastGetCSObj(L, 1); gen_to_be_invoked.LSprites = (System.Collections.Generic.List <UnityEngine.Sprite>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.Sprite>)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_OnAnimationPlayEnd(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LQQ.DuckHuntLuaUMovie gen_to_be_invoked = (LQQ.DuckHuntLuaUMovie)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.OnAnimationPlayEnd); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _g_get_FrameCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LQQ.DuckHuntLuaUMovie gen_to_be_invoked = (LQQ.DuckHuntLuaUMovie)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.FrameCount); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { LQQ.DuckHuntLuaUMovie gen_ret = new LQQ.DuckHuntLuaUMovie(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to LQQ.DuckHuntLuaUMovie constructor!")); }
static int _m_ToPlay(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LQQ.DuckHuntLuaUMovie gen_to_be_invoked = (LQQ.DuckHuntLuaUMovie)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ToPlay( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }