October3d55/M/WidgetFunctionLibrary/Source/WidgetFunctionLibraryEditor/Private/K2Nodes/K2Node_WidgetGridSlotCast.cpp

18 lines
509 B
C++
Raw Normal View History

2025-07-21 18:21:43 +08:00
// Copyright 2022 Just2Devs. All Rights Reserved.
#include "K2Node_WidgetGridSlotCast.h"
#include "WidgetFL.h"
#include "Components/GridSlot.h"
void UK2Node_WidgetGridSlotCast::ExpandNode(FKismetCompilerContext& CompilerContext, UEdGraph* SourceGraph)
{
FunctionName = GET_MEMBER_NAME_CHECKED(UWidgetFL, CastGridSlot);
Super::ExpandNode(CompilerContext, SourceGraph);
}
void UK2Node_WidgetGridSlotCast::AllocateDefaultPins()
{
PinSlotType = UGridSlot::StaticClass();
Super::AllocateDefaultPins();
}