I’m a beginner of the Unity and trying to use Unity to do some simple 3D interactions. However, I encounter some problems in doing it. 
In my project, there is a basketball and I would like to perform drag and drop function to this basketball. Could anyone tell me the script / method on performing it?
Look at the “drag rigidbody” script in the standard assets. But you will need to add a rigidbody first…
Thanks. It works although I sometimes cannot drag it and have a bit of difficulty to control it well.
Depending on what you need; sometimes it can be helpful to attach a configurable joint to your game object to restrict the movements.
Regards, Robert