feat saving include npc position

This commit is contained in:
Bobby Rafael
2025-05-10 21:57:10 +07:00
parent 278e141ab9
commit d4699d6b36
5 changed files with 188 additions and 14 deletions

View File

@ -374,7 +374,7 @@ public class PathfindingUIManager : MonoBehaviour
string filePath = Path.Combine(saveDirectory, $"{mapNameInput.text}.json");
gridMap.SaveGridState(filePath);
Debug.Log($"Map saved to: {filePath}");
Debug.Log($"Map saved to: {filePath} (includes grid state, NPC position, and destination position)");
}
/// <summary>