Controlling a GameObject with Mouse in 2D

Here’s a simple CSharp class to enable GameObject moving by mouse in 2D.

Enjoy :)

Leave a Reply