13 const FVector2D Location,
bool bSelectNewNode)
16 UEdGraphNode_Comment* CommentTemplate = NewObject<UEdGraphNode_Comment>();
19 FVector2D SpawnLocation = Location;
23 CommentTemplate->SetBounds(Bounds);
24 SpawnLocation.X = CommentTemplate->NodePosX;
25 SpawnLocation.Y = CommentTemplate->NodePosY;
28 return FEdGraphSchemaAction_NewNode::SpawnNodeFromTemplate<UEdGraphNode_Comment>(ParentGraph, CommentTemplate, SpawnLocation, bSelectNewNode);