Drag and slide an object in 3d world

Hello there, I'm new to Unity3d and I'm trying to write a script to drag objects in my 3d world from a 45 degree perspective. I hope to make my dragging just like the Unity itself. I'm really looking forward your reply!

Use the `DragRigidbody` script packaged with Unity (If you haven't already, import the Scripts package from Assets/Import Package). Attach that to whatever gameObjects you're trying to drag, make sure they have rigidbodies, and you're all set.