A small refactor in UEWingman, for readability
This commit is contained in:
@@ -25,7 +25,7 @@ class UWing_Widget_Add : public UWingHandler
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, meta=(Description="Widget blueprint to add the widget to"))
|
||||
FString Blueprint;
|
||||
FString BlueprintPath;
|
||||
|
||||
UPROPERTY(EditAnywhere, meta=(Description="Widget type, from Widget_SearchTypes"))
|
||||
FString Type;
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
{
|
||||
// Fetch the widget blueprint.
|
||||
WingFetcher F(WingOut::Stdout);
|
||||
UWidgetBlueprint* BP = F.Walk(Blueprint).Cast<UWidgetBlueprint>();
|
||||
UWidgetBlueprint* BP = F.Walk(BlueprintPath).Cast<UWidgetBlueprint>();
|
||||
if (!BP) return;
|
||||
|
||||
// Resolve the widget type.
|
||||
|
||||
Reference in New Issue
Block a user