Back to API Reference
Interface

ITextContextMenu

abstract

Text context menu entity owned by a selectable. Implementations receive the complete owner for their attached lifetime and may present Unity UI, native platform UI, or another menu.

Implementations(1)

Types that implement ITextContextMenu.

public bool IsVisible{ get }

Whether this entity is currently presenting a context menu.

public abstract void Show(Vector2 screenPosition)

Shows the menu with the given applicability and records presenter as the single receiver of invoked actions until the next Show replaces it or Hide clears it — a menu shared across fields always routes to the field that last showed it.

public abstract void Hide()

Hides the menu and releases any presenter retained by the current presentation.