Storing a unit reference closest to a node, turn based strategy

Hi there!

I want to check what unit is currently on a node, I have a specific script that sits on each unit and I’d like to check whether or not that script is on an object that is sat at that nodes position.
Would it make sense to go into the Node and add in a custom reference?

How would be the best way to approach this? And is there already something in place to do this?


I would suggest using a Dictionary<GraphNode, SomeCustomReference>