I actually manage to do this alone about an hour after posting this. Actually tried to make simply platform game and by following tutorials and advices I found a way of doing so.
However my design is limited to the objects which i specifically named in the event. So for every new object(card) i have to add new events. It is probably fault of my design so before I will ask for further guidance I will read this tutorial.
Also I will include my way of doing this. Criticising is welcome. And now I realized that is template. Thank you but I am doing it partly to learn basics of the programing. It may be a good experience for me before starting with unity.
About my project I basically add variables to the objects(hp/power of the card). Then added additional object(sword picture).
On the click on the object A, sword is spawn on the mouse position. Then I can drag it and drop on the object B. On the drop the sword is disappearing. If it is dropped on object B the values are accordingly subtracted. If the variable hp is equal or lower then 0 object is change position to the graveyard.
It is working however is limited to mentioned objects. I would like to expand it a bit, so I won't have to prescribe so many events for each situation.
I am playing around with families feature now. I would like to make a "card" family. so Whenever object from this family is clicked it spawns this "sword". So far I can manage this. However I would like to make an event which on the drop of this sword would substract variables(always the same variables so power from hp) of clicked and droped on object from this family.
That would save a lot of cooding, however I cant find a way of doing it. Is it possible? Any advices?
****I think I find out how to make it but I must test it. Firstly I have to create Family add variables. And then by families menu change variables of individual objects inside family.