// Called by PatrolManager public void StartSquadMoving() { cartMovement.ChangeDestination(waypointCoordinates); foreach (GameObject guard in guards) { MovementBehaviour guardMovement = guard.GetComponent <MovementBehaviour>(); guardMovement.ChangeDestination(AdjustPathForGuard(guard)); } }