public override void AgentReset() { // Destroy all walls if (mazeCells != null && mazeCells.Length > 0) { PcgHKMG.DestroyMaze(mazeCells); } // Clear parameters startTime = DateTime.UtcNow; RequestDecision(); }
public void AgentReset() { // Destroy all walls if (mazeCells != null && mazeCells.Length > 0) { PcgHKMG.DestroyMaze(mazeCells); } // Clear parameters startGenerating = DateTime.UtcNow; GenerateMaze(); }