Pellet sync

This commit is contained in:
2026-01-18 17:47:07 +01:00
parent eef7084e21
commit c3a19cc53e
12 changed files with 1933 additions and 747 deletions

View File

@@ -316,16 +316,14 @@ namespace Marro.PacManUdon
Pellet pellet = other.gameObject.GetComponent<Pellet>();
if (pellet)
{
pellet.gameObject.SetActive(false);
if (pellet.isPowerPellet)
{
gameController.GotPowerPellet();
gameController.GotPowerPellet(pellet);
freezeSeconds = 0.05f;
}
else
{
gameController.GotPellet();
gameController.GotPellet(pellet);
freezeSeconds = 0.0166666666666667f;
}
return;