Drag Object with Mouse – Unity3D (C#)


Drag Object with Mouse – Unity3D (C#)

It’s too easy and quick to drag an object with mouse. Just use OnMouseDown() and OnMouseDrag() functions.

Save script and attach to object. That’s all!

 

©Coffee Break Codes – Drag Object with Mouse – Unity3D (C#)


Leave a comment

Your email address will not be published. Required fields are marked *

6 thoughts on “Drag Object with Mouse – Unity3D (C#)