getCustomSound method

AssetReference getCustomSound(
  1. CustomSound sound
)

Get the sound from the given sound.

Implementation

AssetReference getCustomSound(final CustomSound sound) =>
    getAssetReferenceReference(
      assets: getAssetStore(sound.assetStore).assets,
      id: sound.id,
    ).reference;