Skip to content

DeviceLayoutListView

Source: Assets/UpscaleSDK/Core/UI/Runtime/DeviceLayout/DeviceLayoutListView.cs

class DeviceLayoutListView

Flat list layout: reads the same DeviceLayoutActions as the four-sided views, but drops each entry into a single container as a plain row. Horizontal vs vertical stacking is decided by the HorizontalLayoutGroup/VerticalLayoutGroup the user attaches to _rowsContainer — this component doesn't care about direction. Device selection is automatic by default: gamepad wins if connected, otherwise Keyboard + Mouse. Fill _overrideTargetDevices to override — any non-empty list is used verbatim (order preserved).

Methods

protected override void Rebuild()