UCommonUIActionRouterBase::ShouldCreateSubsystem

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

Windows
MacOS
Linux

Override Hierarchy

USubsystem::ShouldCreateSubsystem()

UCommonUIActionRouterBase::ShouldCreateSubsystem()

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/Input/CommonUIActionRouterBase.h

Include

#include "Input/CommonUIActionRouterBase.h"

Source

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/Input/CommonUIActionRouterBase.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!

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss