public void GiveKey() { obtainedKey = true; OnObtainItem?.Invoke(); }
public void GiveHeart() { curNumOfHeart += 1; OnObtainItem?.Invoke(); }
public void RefillBattery() { fl.RefillBattery(); OnObtainItem?.Invoke(); }
private static void ItemChanger_AfterGiveGlobal(ReadOnlyGiveEventArgs obj) { OnObtainItem?.Invoke(obj.Item.name); }