static int UpdateCache(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Spine.Skeleton obj = (Spine.Skeleton)ToLua.CheckObject <Spine.Skeleton>(L, 1); obj.UpdateCache(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }