Skip to main content

Description

LckOnScreenUIController is a Unity MonoBehaviour that controls the visibility and visual state of on-screen UI elements (Photo Mode, Selfie Mode buttons, etc.) during notifications and recording. It disables buttons while notifications are active and resets them to their default state when notifications end, preventing user interaction during transient UI states. It works alongside LckNotificationController, which calls OnNotificationStarted() and OnNotificationEnded() to lock/unlock UI automatically.

Usage

Use LckOnScreenUIController to keep your on-screen buttons in sync with notification and recording state. Add it to a GameObject, populate the on-screen UI list in the Inspector, and connect it to your LckNotificationController.

Notification flow


References

Properties

Methods


See Also