A native implementation of UITextField on iOS and EditText on Android for Unity. Works with TextMesh Pro.
- Copy the Plugins folder to your Assets folder.
- Add NativeEditBox to your TMP InputField component.
- Done!
-
Use the delegates on NativeEditBox for events.
-
Use the static rect KeyboardArea on NativeEditBox for information about the keyboard. If the rect is zero, then the keyboard is hidden.
- The NativeEditBox is always on top of Unity, nothing will be rendered over it.
-
Use DestroyNative() to destroy the native version and show Unitys InputField instead.
-
Activate "Switch Between Native And Unity" to make NativeEditBox to switch by itself when the inputfield gets deactivated.
https://github.com/gree/unity-webview
https://github.com/indeego/UnityNativeEdit
Tested with Unity 2022.3.26f