Check which obj is next to it.

How can I check if let’s say for example 3 images are next to each other. I wan’t to check if Images of the same type are next to each other. if it’s the case then I want to call the mothode Win();

Can you explain your problem briefly, i guess you can create 2D array and chk if (0,0) , (0,1),(0,2) matches or not. Consider you image is 1*1 then put first image at 0,0,0 position in unity next on 0,1,0 and so on. Create array and get reference. now run loop and check if (0,0) , (0,1),(0,2) matches or not. hope this will help you