drag an drop script

You can attach small identifier scripts to contain numeric data like this, or any kind of data.

Then when the object lands, look for the identifier script (with GetComponent for example) and see if its field matches what you expect.

If you want folks to look at your code, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly