Esempio n. 1
0
 private void TryMoveToPosition(Vector2 newPos)
 {
     if (boardManager.CanMoveToPosition(newPos))
     {
         transform.position = newPos;
     }
 }