How to Destroy items in Match 3.

hello, i am trying to create a match three game, i am stuck in process of destroying the object when it has 3 items of same tag in row or column, i have tried many methods but everything seems to fail…

The MainObject has 4 child colliders on four sides to check the other objects tag…do u hv any helpful suggestion to make it work?

use multidimensional array to store tile types, such as;

int[,] tileTypes = new int[NumberOfColumns, NumberOfRows];
//0 would be empty tile. 1,2,3… would represent types.

did you try the function Destroy(obj:Object, t:float) ?