void OnTouchRemover(object sender, EventArgs e) { TetrisBlock block = sender as TetrisBlock; GameObject go = sender as GameObject; block.TouchRemover -= OnTouchRemover; isCurrentBlock = false; blockList.Remove(blockList.Find(x => x.GetComponent <TetrisBlock>().GetID() == block.GetID())); if (Time.time > last_loss_brick_time) { last_loss_brick_time = Time.time + cooldown_duration; this.current_health--; } }