Skip to main content

Class HelpUIHandler

Monitors the target UI element when the menu opens. If the target UI is enabled, this component remains enabled and displays a graph/overlay explaining the functionality. Otherwise, it disables itself.

public class HelpUIHandler : MonoBehaviour

Inheritance​

Remarks​

This component is useful for providing contextual help or information about the target UI element. It ensures that the graph/overlay is only displayed when the target UI is active.

Methods​

OnMenuOpen()​

Handles the menu open event. This function is called when the menu opens, as configured in the Unity editor.

public void OnMenuOpen()