Pacman/Assets/Scripts/Power_Pellet.cs
2025-04-20 21:10:16 +05:30

12 lines
205 B
C#

using UnityEngine;
public class Power_Pellet : Pellet
{
public float duration = 8.0f;
protected override void Eat()
{
FindObjectOfType<GameManager>().Power_PelletEaten(this);
}
}