public void SetSelectedNode(GameObject node) { selectedNode = node; if (scoutingMode) { scouter.SetDestination(node); } else { player.SetDestination(node); } }