No SetMazeActive

This commit is contained in:
2025-12-26 18:15:51 +01:00
parent f53a41f70c
commit a15f977107
3 changed files with 0 additions and 9 deletions

View File

@@ -283,7 +283,6 @@ namespace Marro.PacManUdon
private void HideEverything() private void HideEverything()
{ {
SetMazeActive(false);
SetPelletsActive(false); SetPelletsActive(false);
SetMazeVisible(false); SetMazeVisible(false);
SetGhostsActive(false); SetGhostsActive(false);
@@ -298,11 +297,6 @@ namespace Marro.PacManUdon
demo.gameObject.SetActive(false); demo.gameObject.SetActive(false);
} }
void SetMazeActive(bool active)
{
maze.gameObject.SetActive(active);
}
void SetPelletsActive(bool active) void SetPelletsActive(bool active)
{ {
pelletPool.gameObject.SetActive(active); pelletPool.gameObject.SetActive(active);

View File

@@ -15,7 +15,6 @@ namespace Marro.PacManUdon
break; break;
case 1: case 1:
InitializeLevel(); InitializeLevel();
SetMazeActive(true);
SetMazeVisible(true); SetMazeVisible(true);
SetLevel(1); SetLevel(1);
break; break;

View File

@@ -14,8 +14,6 @@ namespace Marro.PacManUdon
HideEverything(); HideEverything();
SetMazeActive(true);
InitializeNewGame(); InitializeNewGame();
InitializeLevel(); InitializeLevel();
RestartLevel(); RestartLevel();