void DeleteGame() { Bmob.Delete(TABLENAME, "68ee8131ca", (resp, exception) => { if (exception != null) { print("删除失败, 失败原因为: " + exception.Message); return; } print("删除成功, @" + resp.msg); }); }
void DeleteData() { Bmob.Delete(TABLENAME, "abab01b9ba", (resp, exception) => { if (exception != null) { print("删除失败"); } else { print("删除成功" + resp); } } ); }
/// <summary> /// 删除数据 /// </summary> public void deleteData(string objectId, string tabName) { Bmob.Delete(tabName, objectId, (resp, exception) => { if (exception != null) { Debug.Log("删除失败, 失败原因为: " + exception.Message); return; } else { Debug.Log("删除成功, @" + resp.msg); } }); }