For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Spinthrift – Mouse rotation made easy. for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Spinthrift – Mouse rotation made easy v1.0
“If possible, please buy the package to support the developer”
Spinthrift offers a simple and easy to use solution for rotating objects with the mouse. This is a collection of several self-contained C# scripts each offering a small variation on the task at hand: click on an object then drag to rotate it during runtime. Each script is easy to use, simply attach it to the object you wish affected and you’re off spinning, of course there are several parameters you can set to change behaviors including rotation speed, return speed, axis rotated, and mouse button to use.




