ドキュメント

Unity Engine

Unity Engine

area

Indicates the portion of the screen that is currently covered by the on-screen keyboard.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Rect area { get; }

Remarks

On Android, this property returns a Rect with top-left axis origin. On devices with API levels earlier than 30, this property returns a zero
Rect
, that is
Rect(0,0,0,0)
. The returned
Rect
defines the actual rectangular area covered by the keyboard with coordinates measured from the top-left corner of the screen.