Back to API Reference
Class

ManagedInputBackend

sealed

Unity-event backend for keyboard editing and single-clause IME composition.

Remarks

Keys and characters both come from the operating system's key events, drained through PopEvent while a field is focused — the same source Unity's own input fields read, which is what carries layout-resolved characters and the system's key repeat. The drain consumes those events, so other consumers stop seeing keyboard input while a field is focused. The backend does not show software keyboards, present native fields, or consume pushed document windows.
public bool WantsTextContext{ get }

Gets whether pushed document windows are consumed.

public void OpenInput()

Opens one reporter epoch.

public void SetCursorScreenPos()

Updates Unity's IME candidate position.

public void SetInputFieldRect()

Accepts focused-editor geometry without platform presentation.

public void QuiesceInput()

Drains the current frame, resolves composition, and completes the barrier.

public void CloseInput()

Releases a quiesced epoch.

public void AbortInput()

Abandons an epoch and clears composition state.

public void PushTextContext()

Accepts a document-window update without retaining it.

public void FlushPendingInput()

Reports at most one ordered snapshot of Unity input per rendered frame.

public void Dispose()

Releases the epoch and composition state.

public static const int FallbackPriority

Priority below built-in native transports.