39 #include "Runtime/Launch/Resources/Version.h"
41 #if (ENGINE_MAJOR_VERSION == 4) && (ENGINE_MINOR_VERSION == 5)
42 #define COHERENT_UI_UE4_4_5_SUPPORT
45 #if defined(COHERENT_UI_UE4_4_5_SUPPORT)
46 template <
typename TObject>
47 TObject* CoherentUIGetSubobjectPtr(
const TSubobjectPtrConstructor<TObject>& ptrConstructor)
49 return TSubobjectPtr<TObject>(ptrConstructor).Get();
52 template <
typename TObject>
53 TObject* CoherentUIGetSubobjectPtr(TObject* ptr)