格子划分正常
This commit is contained in:
@@ -302,7 +302,7 @@ namespace HxGame.PathFinding
|
||||
continue;
|
||||
|
||||
mNewLocation = (mNewLocationY * mGridX) + mNewLocationX;
|
||||
if (mGrid[mNewLocation].cellType == MapManager.CellType.Obstacle && !mIgnoreCanCrossCheck)
|
||||
if (mGrid[mNewLocation].cellType == CellType.Obstacle && !mIgnoreCanCrossCheck)
|
||||
{
|
||||
Debug.Log($"{mNewLocation}<7D><><EFBFBD>赲<EFBFBD><E8B5B2>");
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user