Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(Input.GetMouseButtonDown(0))
- {
- if(selectionX >= 0 && selectionY >= 0)
- {
- if(selectedFigure == null) SelectChessFigure(selectionX, selectionY);
- else MoveChessFigure(selectionX, selectionY);
- }
- }
Add Comment
Please, Sign In to add comment