Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

TouchScreenKeyboard.inPlaceEditingBehavior

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static InPlaceEditingBehavior inPlaceEditingBehavior;

Description

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.