UI Element representing a notification, displayed in the notifications widget.
More...
UI Element representing a notification, displayed in the notifications widget.
◆ Init()
Initializes the notification with the specified widget, notification data, and index.
- Parameters
-
| widget | The parent widget that contains this notification. |
| notification | The notification data. |
| index | The index of the notification in the list. |
- Returns
- The initialized notification.
◆ OnClick()
| void FMAR.UI.Widgets.Notifications.Notification.OnClick |
( |
| ) |
|
|
inline |
Handles the click event on the notification, triggering the associated link.
◆ OnPointerEnter()
| void FMAR.UI.Widgets.Notifications.Notification.OnPointerEnter |
( |
PointerEventData | eventData | ) |
|
|
inline |
Handles the pointer enter event, marking the notification as seen if it hasn't been seen yet.
- Parameters
-
| eventData | Pointer event data. |
The documentation for this class was generated from the following file:
- /github/workspace/Packages/FMAR/UI/WidgetNotifications/Runtime/Scripts/Notification.cs