public void Attack()
 {
     if (!unit.HasActed)
     {
         Debug.Log("Attck Button Clicked");
         EncounterUtils.Highlight(grid.SelectedPieceAttackRange, Color.red);
         grid.SelectedPieceState = SelectedPieceState.Attacking;
     }
     HidePanel();
 }
 public void Move()
 {
     if (!unit.HasMoved)
     {
         Debug.Log("Move Button Clicked");
         EncounterUtils.Highlight(grid.SelectedPieceMoveRange, Color.blue);
         grid.SelectedPieceState = SelectedPieceState.Moving;
     }
     HidePanel();
 }