Coordinate System Implementation

Hey people,

I have a design question in mind. I currently wrote a script attached to EventSystem that gives me mouse coordinates on screen.

I want to move pawns around when I select them. I am not up to selection part yet, 2 options come to mind:

-writing a script attached to pawns that checks if they are selected, if they are selected they will move on mouse click.
-writing a script attached to event system that moves selected pawns

is there any performance issues you could think of? There might be around 20 pawns to be chosen.


out of question, choose the second option. Imagine you later want to select them with a dragged rectangle or something cross pawn selected. you’d need something that manages them all and not let them individually manage themselves.