Files
2025-05-18 13:04:45 +08:00

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