I have a sprite (Sprite1) with 2 private variables. At the start of the Layout I call a function witch creates 4 sprites from Sprite1 and assign to every variable some data.
Now when I press a button I want to read some data from the private variables from a specified Sprite and then to destroy it. If I call Destroy function all the 4 sprites will be destroyed.
How can I make to destroy or to manipulate only a specified sprite/object?