16 lines
378 B
C++
16 lines
378 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SceneStateEventTemplate.h"
|
|
#include "StructUtils/UserDefinedStruct.h"
|
|
|
|
#if WITH_EDITOR
|
|
void FSceneStateEventTemplate::SyncEventData()
|
|
{
|
|
const UUserDefinedStruct* EventStruct = EventSchemaHandle.GetEventStruct();
|
|
if (EventData.GetScriptStruct() != EventStruct)
|
|
{
|
|
EventData.InitializeAs(EventStruct);
|
|
}
|
|
}
|
|
#endif
|