Version: 2022.2
public static bool consumesOutsideTouches ;

描述

Indicates whether the keyboard consumes screen touches outside the visible keyboard area.

This is relevant when the on-screen keyboard is visible. When true, Unity ignores touch input outside of the on-screen keyboard area. When false, Unity processes touch input outside of the on-screen keyboard area as it would do if the keyboard wasn't on-screen.

The default value is false.