Limen Framework 0.1 Help

ULimenFMODAudioComponent

Overview

ULimenFMODAudioComponent is a custom audio component designed to integrate with FMOD for audio playback in Unreal Engine 5. It overrides the BeginPlay and EndPlay lifecycle events to manage subscriptions to game pause state changes, allowing it to pause or resume audio based on whether the game is paused.

Properties

Type

Name

Access

Description

bool

bPausePlaybackWithWorld

EditAnywhere

Determines if the component should pause playback when the game is paused.

Functions

Return Type

Signature

Description

void

SetPausePlaybackWithWorld(const bool bPause)

Sets whether the component should pause playback when the game is paused.

void

GamePausedStateChanged(const bool bIsPaused)

Handles the change in game pause state, pausing or resuming audio accordingly if bPausePlaybackWithWorld is true.

Usage & Implementation Notes

  • Subscribes to the game's pause state changes during BeginPlay and unsubscribes during EndPlay.

  • The component can be configured to automatically pause when the game is paused by setting bPausePlaybackWithWorld to true.

22 May 2026