class MAGES::UIs::NotificationBehavior¶
Overview¶
Notification behavior. More…
class NotificationBehavior: public MonoBehaviour { public: // methods NotificationBehavior Text(string text); NotificationBehavior Lifetime(float lifetime); NotificationBehavior OnNotificationFinished(UnityAction action); };
Detailed Documentation¶
Notification behavior.
Methods¶
NotificationBehavior Text(string text)
Sets the text of the notification.
Parameters:
text |
The new text. |
Returns:
Self.
NotificationBehavior Lifetime(float lifetime)
Sets the lifetime of the notification.
Parameters:
lifetime |
The lifetime. |
Returns:
Self.
NotificationBehavior OnNotificationFinished(UnityAction action)
Sets the on finished event of the notification.
Parameters:
action |
The action. |
Returns:
Self.