示例#1
0
    void DeleteGame()
    {
        Bmob.Delete(TABLENAME, "68ee8131ca", (resp, exception) =>
        {
            if (exception != null)
            {
                print("删除失败, 失败原因为: " + exception.Message);
                return;
            }

            print("删除成功, @" + resp.msg);
        });
    }
示例#2
0
 void DeleteData()
 {
     Bmob.Delete(TABLENAME, "abab01b9ba", (resp, exception) => {
         if (exception != null)
         {
             print("删除失败");
         }
         else
         {
             print("删除成功" + resp);
         }
     }
                 );
 }
示例#3
0
 /// <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);
         }
     });
 }