Skip to content

en:class CollisionAudioStore

DerpyNewbie edited this page Oct 9, 2022 · 2 revisions

EN | JA

Description

CollisionAudioStore stores AudioDataStore for sounds to play when something collides into something.

Please note that this class only stores AudioDataStores for use in another class that plays sound on collision.

Inspector Properties

Property: Function:
Fallback Audio Audio to play when no object type was specified.
Wood Audio Audio to play when colliding with object with type of Wood.
Iron Audio Audio to play when colliding with object with type of Iron.
Cloth Audio Audio to play when colliding with object with type of Cloth.

Properties

Property: Function:
FallbackAudio Returns Fallback Audio (read-only)
WoodAudio Returns Wood Audio (read-only)
IronAudio Returns Iron Audio (read-only)
ClothAudio Returns Cloth Audio (read-only)