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