Back to API Reference
Class
UniTextPasteControl
sealed
Inherits:MonoBehaviour
Cross-platform Paste widget. On iOS 16+ overlays a native UIPasteControl on top of this RectTransform (bypasses the system paste-permission prompt). Elsewhere triggers UniTextEditable.Paste through an optional sibling/child Button.
public UniTextEditable Target{ get; set }Editable text receiving pasted content.
public PasteControlDisplayMode DisplayMode{ get; set }Content displayed by the native iOS paste control.
public PasteControlCornerStyle CornerStyle{ get; set }Corner treatment used by the native iOS paste control.
Programmatic paste through UniTextEditable.Paste. On iOS 16+ outside a user-action context this surfaces the system prompt — prefer the native overlay (real tap) on that OS.
public Action PastedOccurs when a paste has succeeded (native overlay tap or fallback click).
