In my tile-based game, I created images which I can drag or drop in a Panel called “Hand”. They work fine. Now, I want to use better png files that I uploaded to my Assets as tiles. I put one of the png files in the Hand and added my drag script to it. But it is different than other tiles, which I created in Unity using UI->Image. It cannot be added to hand properly and I can’t see it in game like my other tiles. what should I do to use multiple png files as tiles in the game, that players can select, drag or drop them?
This is probably because your images are not in the correct format. You can change it from inside Unity. Select the images in the Assets window, and you can config the image type in the insopector. I’m not sure what type you need, make some tests!