Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInputDeviceSubsystem
Description
Override to control if the Subsystem should be created at all. For example you could only have your system created on servers. For subsystems that can return false, you must null check whenever getting the Subsystem.
Note: This function is called on the CDO prior to instances being created!
Virtual Inheritance
- USubsystem::ShouldCreateSubsystem → UInputDeviceSubsystem::ShouldCreateSubsystem
| Name | ShouldCreateSubsystem |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/InputDeviceSubsystem.h |
| Include Path | #include "GameFramework/InputDeviceSubsystem.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GameFramework/InputDeviceSubsystem.cpp |
virtual bool ShouldCreateSubsystem
(
UObject * Outer
) const