static int _s_set_ignoreEngineTimeScale(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.IAnimationGear gen_to_be_invoked = (FairyGUI.IAnimationGear)translator.FastGetCSObj(L, 1); gen_to_be_invoked.ignoreEngineTimeScale = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_playing(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.IAnimationGear gen_to_be_invoked = (FairyGUI.IAnimationGear)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.playing); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _m_Advance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.IAnimationGear gen_to_be_invoked = (FairyGUI.IAnimationGear)translator.FastGetCSObj(L, 1); { float _time = (float)LuaAPI.lua_tonumber(L, 2); gen_to_be_invoked.Advance(_time); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }