//to be called by the manager passing in a list of other ghosts public void UnityGhostSeparation(List <UnityGhost> ghosts) { //this will pass the list to the MovingAgent where the actual calculations will be done _agent.AddGhostsReference(ghosts); }