void Start() { _canvasComponent = _canvas.GetComponent <Canvas>(); _imageComponent = GetComponent <Image>(); _dragItem.RegisterAction(DragEvent); }