Documentation

Unity Engine

Unity Engine

DisplayLayoutChangedEventArgs

Contains information about a change in the display layout.
Read time 1 minuteLast updated 24 days ago

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.