Goal: I’m trying to make a game where you can drag an item from the item card to the playing field so the player can interact with it (so they can launch it at an enemy).
Dragging the card like in pvz, like this:
Problem: I don’t really know the correct approach into making this, but from many YouTube videos i have watched, they use a canvas, and images as the item cards, and items. However, none of my sprites can interact with the images since they are on the canvas. I could just make my sprites into images in the canvas, but I would want them to be animated (so you can see them move).
Is there a way to make something like this without using a canvas, or do i need to use it? (is there a script for this?)
If i need to use it, can i still achieve my goal? (using triggers and such to launch the item and hit enemies)
I’m fairly new to unity, but I am still working on the coding and getting used to it.
Thanks for the help!