How to follow mouse in Unity 2D
Interaction with mouse is a very common feature in most of the games and sometimes, you need to move the player to the mouse position. This feature is widely used in 2D games. In this tutorial, we will see how to make a 2D game object follow the mouse. Step1: Adding the player to the … Read more