Exemplo n.º 1
0
    private void OnMouseDown()
    {
        if (gm.gameOver == 0)
        {
            RotatePiece();
            gm.reStart();

            /* if (isGoal == 1 && isActive == 1)
             * {
             *   gm.youWin();
             * }*/
        }
    }
 private void OnMouseDown()
 {
     if (gm.gameOver == 0)
     {
         //gm.startTurn();
         RotatePiece();
         gm.reStart();
         //isActive = 0;
         // gm.Check((int)transform.position.x, (int)transform.position.y);
         // gm.fullSweep();
         // gm.endTurn();
     }
 }