Controls the in-place editing behavior for text input fields.
In-place editing allows users to select or modify text in an input field without displaying the on-screen keyboard. Use this property to control on-screen keyboard visibility when editing text in input fields. For example, set this property to InPlaceEditingBehavior.AlwaysDisallowed to always display the on-screen keyboard.
Android: Unity automatically enables in-place editing and hides the on-screen keyboard if it detects any physical keyboard.
The following code example demonstrates how to disable in-place editing and display the on-screen keyboard.
using UnityEngine;
public class ExampleClass : MonoBehaviour { void Start() { TouchScreenKeyboard.inPlaceEditingBehavior = TouchScreenKeyboard.InPlaceEditingBehavior.AlwaysDisallowed; } }