class UMagesAudioSubsystem

Overview

#include <MagesAudioSubsystem.h>

class UMagesAudioSubsystem: public UGameInstanceSubsystem
{
public:
    // fields

    class AAmbientSound* AmbientSoundActor;
    class UAudioComponent* AudioClipComponent;

    // methods

    virtual void Initialize(FSubsystemCollectionBase& Collection);
    void PlayAmbient(const EAmbientAudioType Type);
    void StopAmbient();
    void PlayClip(const EAudioClipType Type);

    void PlayClipOnComponent(
        const EAudioClipType Type,
        UAudioComponent* AudioComponent
        );
};

Detailed Documentation

Methods

void PlayClipOnComponent(
    const EAudioClipType Type,
    UAudioComponent* AudioComponent
    )

Play Audio clip on the provided component