PickupDestroyed
Gets called when the server has destroyed a pickup.
Start a script section
!-- OnEvent PickupDestroyed
-- require *evPickup
# Add your instructions here
- Group: ServerEvents
- Cancellable: No
- Event data:
PickupDestroyedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evPickup | reference to Pickup object | Gets the pickup which is being destroyed. Remarks: Unity destroys objects at the end of the frame so using the pickup here is fine. |