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