public void Show()
 {
     order           = Data.DeploymentOrder.Create(path, PlayerPrefs.GetInt(defaultPrefSynchronized, 0) == 1);
     fromRegion.text = path[0].name;
     toRegion.text   = path[path.Length - 1].name;
     synchMove.isOn  = order.synchronizedMovement;
     transform.GetChild(0).gameObject.SetActive(true);
     for (int i = 0, l = contents.childCount; i < l; i++)
     {
         var child = contents.GetChild(i);
         child.gameObject.SetActive(true);
         var unitDeployment = child.GetComponent <UIOrderUnitType>();
         unitDeployment.Show();
     }
 }
 public void RegretOrder()
 {
     order.undo();
     order = null;
     Tile.SelectLock.InteractWith(Input.InteractionType.Deselect);
 }