using UnityEngine; public class YummyLaser : YummyBase { protected override void ObtainedCallback(Player player) { player.laserCount += 1; } }