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