Skip to main content

PlatformSoundEffect

Callable

  • PlatformSoundEffect(Category, Sound, Factor): void

  • Plays a sound effect if needed


    Parameters

    • Category: string

      The sound effect category

    • Sound: string | string[]

      The sound or array of sound to play

    • Factor: number = 0.3333

      The volume factor to apply

    Returns void

    • Nothing