public void ChoicePatrol(int x)
{
previousPatrolTarget = patrolTarget;
patrolTarget = new Vector3[x];
patrolMarkers = new GameObject[x];
if(x == 4)
SquarePatrol();
else if (x == 3)
TrianglePatrol();
else LinePatrol();
}