API

Function setUnmuteUIEnabled

  • Enables or disables the unmute button. When disabled it is hidden; when enabled it is shown if the engine is not running.

    Parameters

    • ui: UnmuteUI

      The UI handle.

    • enabled: boolean

      Whether the button may be shown.

    Returns void