22 _bInitiallyCollapsed(
true)
25 SLATE_ARGUMENT(
bool, bInitiallyCollapsed)
33 void Construct(
const FArguments& Args);
42 virtual void Tick(
const FGeometry& AllottedGeometry,
const double InCurrentTime,
const float InDeltaTime)
override;
50 void UpdateGVInstance(TWeakObjectPtr<UArticyGlobalVariables> InGVs);
57 void BuildGVPickerContent(FMenuBuilder& Builder);
64 void OnSelectGVs(TWeakObjectPtr<UArticyGlobalVariables> InVars);
72 bool IsGVChecked(TWeakObjectPtr<UArticyGlobalVariables> InVars)
const;
79 FText GetCurrentGVLabel()
const;
83 TWeakObjectPtr<UArticyGlobalVariables> CurrentGlobalVariables;
86 TSharedPtr<SArticyGlobalVariables> GlobalVariablesWidget;
89 TSharedPtr<SWidget> WorldSelector;
92 TSharedPtr<SWidgetSwitcher> RuntimeSwitcher;
95 bool bIsActive =
false;
98 TArray<FDelegateHandle> RuntimeSwitchHandles;