public static void SignalPickupDespawned(Pickup pickup) => PickupDespawned?.Invoke(pickup);
Beispiel #2
0
 private void OnPickupDespawned(Pickup pickup) => pickups.Remove(pickup.transform);
Beispiel #3
0
 public PickupDrop()
 {
     dropChance   = 100;
     pickupToDrop = null;
 }
Beispiel #4
0
 private void OnPickupSpawned(Pickup pickup) => pickups.Add(pickup.transform);