Guest User

Untitled

a guest
Jun 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. if(Input.GetMouseButtonDown(0))
  2. {
  3. if(selectionX >= 0 && selectionY >= 0)
  4. {
  5. if(selectedFigure == null) SelectChessFigure(selectionX, selectionY);
  6. else MoveChessFigure(selectionX, selectionY);
  7. }
  8. }
Add Comment
Please, Sign In to add comment