injectEvent

abstract fun injectEvent(inputEvent: InputEvent?): Boolean

Injects an input event into the Unity Player for processing.

Return

True if the event was consumed by the Unity Player, false otherwise.

Parameters

inputEvent

The input event to inject.