public void Move(Piece piece, Space space) { if (space.occupied) { DeadPieces.Add(space.occupier); AlivePieces.Remove(space.occupier); space.occupier.enabled = false; space.occupier.Alive = false; } piece.transform.position = space.transform.position; piece.space.occupied = false; piece.space.occupier = null; piece.space.AnimateShell(.5f, Color.grey); piece.space = space; space.occupied = true; space.occupier = piece; space.AnimateShell(.5f, Color.blue); }