static int IsPlaying(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UITween obj = (UITween)ToLua.CheckObject(L, 1, typeof(UITween)); bool o = obj.IsPlaying(); LuaDLL.lua_pushboolean(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }