ALimenNotificationTrigger
Overview
ALimenNotificationTrigger is a subclass of ALimenTrigger. It overrides the ComponentBeginOverlap function to display a notification when another actor enters its overlap area. The notification parameters are defined in the editor and can be customized through the Notification property.
Properties
Type | Name | Access | Description | |
|---|---|---|---|---|
FNotificationParams | Notification | EditAnywhere, Category=" Limen | Notifications" | Parameters for the notification to be displayed. |
Functions
Return Type | Signature | Description |
|---|---|---|
void | ComponentBeginOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult) | Handles the overlap event and displays a notification if the overlapping actor is a player. |
Usage & Implementation Notes
Threading Constraints: This function should be called on the game thread.
Replication Requirements: None.
Memory Lifetime Management: The
Notificationobject is managed by the trigger and does not need to be manually deleted.Initialization Dependencies: The trigger depends on the presence of a
ULimenNotificationComponentin the player's HUD.