unity how to destroy duplicate 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);