Skip to content

DeviceLayoutView

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

class DeviceLayoutView

Shared implementation for every device layout view: consumes a DeviceLayoutActions list, buckets each entry onto one of the four device sides using LayoutSideHeuristic, and spawns rows + connector lines. Subclasses plug in only the pieces that vary by device — the target DeviceType, the icons-set lookups, and the device sprite.