UAudioGameplayVolumeSubsystem::ShouldCreateSubsystem

Override to control if the Subsystem should be created at all.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USubsystem::ShouldCreateSubsystem()

UAudioGameplayVolumeSubsystem::ShouldCreateSubsystem()

References

Module

AudioGameplayVolume

Header

/Engine/Plugins/AudioGameplayVolume/Source/AudioGameplayVolume/Public/AudioGameplayVolumeSubsystem.h

Include

#include "AudioGameplayVolumeSubsystem.h"

Source

/Engine/Plugins/AudioGameplayVolume/Source/AudioGameplayVolume/Private/AudioGameplayVolumeSubsystem.cpp

Syntax

virtual bool ShouldCreateSubsystem
(
    UObject * Outer
) const

Remarks

Override to control if the Subsystem should be created at all. For example you could only have your system created on servers. It's important to

that if using this is becomes very important to null check whenever getting the Subsystem.

This function is called on the CDO prior to instances being created!