More work on focus, and good docs
This commit is contained in:
@@ -80,9 +80,6 @@ public:
|
||||
UPROPERTY()
|
||||
FHitResult CurrentLookAt;
|
||||
|
||||
// The last widget whose focus request was granted.
|
||||
TObjectKey<UWidget> LastWidgetGrantedFocus;
|
||||
|
||||
// The single top-level UUserWidget added to the viewport. All
|
||||
// top-level UI widgets are children of RootCanvas inside it.
|
||||
UPROPERTY()
|
||||
@@ -94,14 +91,5 @@ public:
|
||||
UPROPERTY()
|
||||
UlxRootCanvasPanel *RootCanvas = nullptr;
|
||||
|
||||
// The viewport client uses this to notify us that the user
|
||||
// clicked on a focusable widget.
|
||||
void ClickToFocus(TSharedRef<SWidget> Widget);
|
||||
|
||||
private:
|
||||
TWeakPtr<SWidget> ClickToFocusTarget;
|
||||
|
||||
public:
|
||||
|
||||
bool MustCallLookAtChanged = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user