using UnityEngine; public class YummyLightningBolt : YummyBase { protected override void ObtainedCallback(Player player) { player.barPower += 0.1f; } }