void Deselect()
 {
     if (currentCharacter != null)
     {
         //fade in characters
         foreach (UnitSelection u in units.Values)
         {
             u.SetAlphaMoving(1.0f);
             u.SetLightMoving(0.5f);
             u.SetRaycast(true);
         }
         //move unit back to origin
         selectedUnit.SetPositionMoving(selectedUnit.Origin());
         //set slots and unit ui
         units[currentCharacter].Select(false);
         slots[currentCharacter].Select(false);
         currentCharacter = null;
     }
     if (highlightedCharacter != null)
     {
         units[highlightedCharacter].Select(false);
         slots[highlightedCharacter].Select(false);
         highlightedCharacter = null;
     }
     descriptionMenu.gameObject.SetActive(false);
 }