Renamed GameController

This commit is contained in:
2025-12-14 15:52:34 +01:00
parent 1fd5eb1f44
commit 5355effc23
7 changed files with 9 additions and 9 deletions

View File

@@ -9,7 +9,7 @@
public class GhostManager : UdonSharpBehaviour
{
[NonSerialized] public GameController gameController;
[NonSerialized] public GameManager gameController;
private Ghost[] ghosts;
private Ghost blinky;
@@ -57,7 +57,7 @@
private bool frozen;
// This should be called once when the game is initialized
public void Initialize(GameObject[] ghostTargets, PacMan pacMan, GameController gameController)
public void Initialize(GameObject[] ghostTargets, PacMan pacMan, GameManager gameController)
{
this.gameController = gameController;
ghosts = transform.GetComponentsInChildren<Ghost>(true);