public void MapClicked(Vector3 targetVec) { //Debug.Log("Map Clicked"); if (sourceSquad == null) { return; } else { sourceSquad.setTargetVec(targetVec); sourceSquad = null; } }