static int play(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); EffectRenderObj obj = (EffectRenderObj)ToLua.CheckObject(L, 1, typeof(EffectRenderObj)); obj.play(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }