ULimenWidgetInteractionComponent
Overview
ULimenWidgetInteractionComponent is a subclass of UWidgetInteractionComponent. It provides functionality to interact with UI elements, such as pressing pointer keys. This component can be spawned in Blueprints or used directly in C++ code.
Properties
Type | Name | Access | Description |
|---|---|---|---|
bool | bAutoActivate | Private | Indicates whether the component should automatically activate when attached to a game object. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | Activate(bool bReset = false) | Activates the widget interaction component. If |
void | Deactivate() | Deactivates the widget interaction component. |
void | PressPointerKey(const FKey Key) | Simulates pressing a pointer key on the UI. |
Usage & Implementation Notes
This component inherits from
UWidgetInteractionComponent, which handles most of the underlying logic for interacting with widgets.The
bAutoActivateproperty is set to false by default, meaning it will not activate automatically when attached to a game object unless explicitly set otherwise in Blueprints or C++ code.