ドキュメント

Unity Engine

Download Unity

Unity Engine

DisplayLayoutChangedEventArgs

Contains information about a change in the display layout.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public struct DisplayLayoutChangedEventArgs

Remarks

Unity passes this struct to the callbacks you register with DisplayInfo.RegisterLayoutChangedCallback.
This struct currently carries no data, so a callback can't tell from it which display changed or what changed about it. To respond to a layout change, call DisplayInfo.GetLayout from the callback to read the new layout.