You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A native implementation of UITextField on iOS and EditText on Android for Unity.
4
-
Works with Unitys InputField.
4
+
Works with TextMesh Pro.
5
5
6
6
## Installation
7
7
1. Copy the Plugins folder to your Assets folder.
8
-
2. Add NativeEditBox to your InputField component.
8
+
2. Add NativeEditBox to your TMP InputField component.
9
9
3. Done!
10
10
11
11
## Usage
12
-
- Use the delegates on NativeEditBox for user information.
12
+
- Use the delegates on NativeEditBox for events.
13
13
14
14
- Use the static rect KeyboardArea on NativeEditBox for information about the keyboard.
15
15
If the rect is zero, then the keyboard is hidden.
16
16
17
17
## Known issues
18
18
- The NativeEditBox is always on top of Unity, nothing will be rendered over it.
19
19
20
-
- "For Unity 5.6 or newer, you also need to modify android:name from com.unity3d.player.UnityPlayerActivity to com.unityextensions.nativeeditbox.CUnityPlayerActivity. This custom activity implementation will adjust Unity's SurfaceView z order."
21
-
(Thanks @KojiNakamaru)
22
-
23
20
## Tips
24
21
- Use DestroyNative() to destroy the native version and show Unitys InputField instead.
0 commit comments