public void Delete() { elementCreator.elementsCount++; elementCreator.UpdateText(); Destroy(gameObject); }