Пример #1
0
 private void MoveChess(int x, int y)
 {
     if (selected.Possible(x, y))
     {
         Chessmans [selected.CurrentX, selected.CurrentY] = null;
         selected.transform.position = GetCenter(x, y);
         Chessmans[x, y]             = selected;
     }
     selected = null;
 }