Beispiel #1
0
 public void DropPiece()
 {
     if (moving == null)
     {
         return;
     }
     Debug.Log("Dropped");
     if (!newIndex.Equals(moving.index))
     {
         game.MoveBand(moving.index, newIndex, true);
     }
     else
     {
         game.ResetPiece(moving);
     }
     moving = null;
 }