You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
17 lines
505 B
C++
17 lines
505 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "ARDependencyHandler.h"
|
|
#include "Features/IModularFeatures.h"
|
|
|
|
|
|
UARDependencyHandler* UARDependencyHandler::GetARDependencyHandler()
|
|
{
|
|
auto& ModularFeatures = IModularFeatures::Get();
|
|
const auto FeatureName = GetModularFeatureName();
|
|
if (ModularFeatures.GetModularFeatureImplementationCount(FeatureName))
|
|
{
|
|
return static_cast<UARDependencyHandler*>(ModularFeatures.GetModularFeatureImplementation(FeatureName, 0));
|
|
}
|
|
return nullptr;
|
|
}
|