You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
16 lines
603 B
C++
16 lines
603 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "BaseSubobjectDataFactory.h"
|
||
|
|
#include "SubobjectData.h"
|
||
|
|
|
||
|
|
TSharedPtr<FSubobjectData> FBaseSubobjectDataFactory::CreateSubobjectData(const FCreateSubobjectParams& Params)
|
||
|
|
{
|
||
|
|
return TSharedPtr<FSubobjectData>(new FSubobjectData(Params.Context, Params.ParentHandle));
|
||
|
|
}
|
||
|
|
|
||
|
|
bool FBaseSubobjectDataFactory::ShouldCreateSubobjectData(const FCreateSubobjectParams& Params) const
|
||
|
|
{
|
||
|
|
// By default, this will just return false to ensure that if anyone
|
||
|
|
// adds a custom subobject data factory that they won't have to change this function
|
||
|
|
return false;
|
||
|
|
}
|