how to make onMouseenter work on unity on a 2d sprite
Jump to turn (9)
- 1how to make onMouseenter work on unity on a 2d sprite
- 2onmousebuttondrag but i dont want to call it every frame, only when i hover over
- 3if the list grid.selectedTiles doesnt have object tile, add tile
- 4i have this code that makes a grid of random 4 colored circle sprites
- 5on mousebutton up. clear the list and delete the object in the list
- 6ok so the grid i coded earlier, i want to move the tiles downwards if there is a
- 7i want to move all tiles above the missing tile downwards
- 8where did you refrence gridpositions[x,y]
- 9lets start new. make a grid
- User
how to make onMouseenter work on unity on a 2d sprite
- Assistant
To make the function work on a 2D sprite in Unity, follow these steps: