drag drop gameobject

hi
nice job
i am using unity 5.3.5,
it is not working drag drop event for GameObject → 2D Object → Sprite,:frowning:
but it is working for GameObject → UI → Image.:slight_smile:
my c# script is ::sunglasses:

using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;

public class myDragHandler :MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler{

//Usethisfor initialization
void Start(){
Debug.Log("Start");
}

public void OnBeginDrag(PointerEventData eventData){
Debug.Log("OnBeginDrag");
}
public void OnDrag(PointerEventData eventData){
Debug.Log("OnDrag");
this.transform.position=eventData.position;
}
public void OnEndDrag(PointerEventData eventData){
Debug.Log("OnEndDrag");
}
}

How can I solve my problem?
please Guid me

OnBeginDrag event rely on EventSystem, so I think it’s only work on UI.