Rotate an object with click and drag?

Hi,

I have an object that I want to be able to rotate based on the way the user clicks and drags the mouse on it, I've had a good hard look for a script that does this but can't really seem to find anything that fits my need, does anyone have one available?

Thanks

Yoau can try to mod MouseLook script to roatate object while button is down.