private async UniTask DestroyBuildingEntityRoutine(string id) { await DbServiceClient.DeleteBuildingAsync(new DeleteBuildingReq() { MapName = CurrentMapInfo.Id, BuildingId = id }); }
private async UniTask DestroyBuildingEntityRoutine(string id) { await DbServiceClient.DeleteBuildingAsync(new DeleteBuildingReq() { MapName = Assets.onlineScene.SceneName, BuildingId = id }); }
public override void DestroyBuildingEntity(string id) { base.DestroyBuildingEntity(id); DbServiceClient.DeleteBuildingAsync(new DeleteBuildingReq() { MapName = Assets.onlineScene.SceneName, BuildingId = id }); }