Hi,
I am attempting to destroy an object after it has been dragged and dropped, but it only seems to work after I click on the dropped object a second time and was wondering what I am doing wrong. I have placed a snippet of the code where I am trying to do this and would love some advice please.
(I thought this first code bit would work)
Touch - On tap gesture on (Tower_IMG_1)
Tower_IMG_1 - Drop [] DragDrop
Tower_IMG_1 - Set Active to 0
- Spawn second (larger image)
Tower_IMG_1 - Destroy
(I had to add this bit for it to work at all but requires a second click on the image)
Touch - On any touch end & Tower_IMG_1 Active=0
Tower_IMG_1 - Destroy
Tower_IMG_1 - Set Active to -1
Thank you