Version: 2021.3
public static bool hideInput ;



This property is applicable for single line text fields that have assigned keyboard with alphanumeric keys. When TouchScreenKeyboard.hideInputs is set to true, the only type of keyboard that can be opened is TouchScreenKeyboardType.Default. This type of keyboard will be opened even if other types are specified to be opened.

Android: There is no reliable way of hiding input field. Unity provides this property which, when you enable it, renders the input field outside of the screen. This gives the illusion of a hidden input field.