DropSpawner allows objects to drop from it. This is most typically used when an actor dies and items drop from it.
public GameObject DropObject()
Spawns a new instance of the object it’s meant to drop.
public GameObject objectToSpawn
This lets you slot a prefab for the object which will drop.
Optional. This field allows you to make different items drop depending on the Attacks the player has enabled at the time. The “attackName” field lets you specify the name of an Attack, and pair that to a prefab which will drop if the player has that Attack enabled at the time the drop is initiated.