Why script your own dragging when a perfectly working object called UIDragDetector exists?
You need to do some steps to use it though. Link to it here
Why script your own dragging when a perfectly working object called UIDragDetector exists?
You need to do some steps to use it though. Link to it here