示例#1
0
 private void OnMouseDown()
 {
     //Destroy the hint.
     if (hintManager != null)
     {
         hintManager.DestoryHint();
     }
     if (board.currentState == Gamestate.move)
     {
         firstTouchPosition = Camera.main.ScreenToWorldPoint(Input.mousePosition);
     }
 }