Spawn particle system on item pickup?

Tscorpio

New member
Is there something built into an item pickup that will spawn objects when the pickup happens?
Should I just subclass the item pickup and code my own?
Thanks!
 
There's nothing built-in for that so you'd need to subclass. Another option is to use the event that ObjectPickup fires upon pickup - "OnObjectPickedUp" - which it executes on the gameobject that picked it up, passing the picked-up gameobject as a parameter.
 
Top