Skip to main content

PlatformSoundEffect

Callable

  • PlatformSoundEffect(Category: string, Sound: any, Factor?: number): void

  • Plays a sound effect if needed


    Parameters

    • Category: string

      The sound effect category

    • Sound: any

      The sound or array of sound to play

    • Factor: number = 0.3333

      The volume factor to apply

    Returns void

    • Nothing