unity 2d how to destroy a cloned object code example
Example: how to destroy clones in unity c#
GameObject cardClone = Instantiate (Cards [i], new Vector3 (xVal, yVal, zVal), transform.rotation) as GameObject; Destroy(cardClone);
GameObject cardClone = Instantiate (Cards [i], new Vector3 (xVal, yVal, zVal), transform.rotation) as GameObject; Destroy(cardClone);