Collectable Component
Collectable component is meant to be added to whatever actor in your game represents an item (A health potion, for instance). It let's you select the item class that will be provided to the player on pickup.
This component also has a delegate called OnSetupActor. This is intended to be received by the actor and used to setup the actor based on item data. For instance, if you have a health potion maybe you want to set the color of the liquid depending on how strong the potion is, you can do this on this event.
Last updated