Crate
Last updated
Last updated
Crate is a , which implements
maxHealth: Initial health of the destructible"
lootInside: Instantiate something cool when the object is destroyed, such as coins, a weapon, or any kind of loot, whatever you want! If this is empty, no reward will be instantiated
destroyedSFX: AudioClip to play on destruction.
destroyedObject: Object to get instantiated when the Crate is destroyed.