Top Down Camera Much like League of Legends or Age of Empires

How easy would it be to make a camera controlled my the mouse (ie when the mouse goes to the corner of the screen it moves). On top of this i would also like to be able to have a clickable mini-map (Like League of Legends) and also be able to bind the camera to the character with a button.

I made a prototype a few weeks ago. It took me about an hour.

My solution utilized :

4 invisible guitextures to handle the ‘sidescroll’ events
1 script on the camera to handle the ‘mouse drag’ events