#Is there a way to have the sound on object when it is destroyed?

10 messages · Page 1 of 1 (latest)

versed light
#

i tried to put audio source component on "dead model" in object but it doesn't work
i used an example audio (firetruck siren)

languid ember
#

It is done using an effect

#

You would have to create an effect with your custom sound, and set your custom effect's ID in the dat file of the object

versed light
#

is possible without effect?

languid ember
#

it could work using the activation event hook when the active gameobject is disabled

versed light
languid ember
#

I think so

versed light
#

Simpler than expected deadzone

fair charm
#

Well an effect wouldve also worked