Skip to content

DeviceLayoutRowView

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

class DeviceLayoutRowView

Abstract adapter attached to a row prefab used by any device layout view. The view spawns the prefab and calls SetIcon/SetLabel — concrete binders live in project code (or samples) where a text component dependency such as TMP is acceptable, keeping the SDK core free of it. Row orientation (icon/label placement) is baked into the prefab itself, so no runtime flipping is needed.

Methods

public abstract void SetIcon(Sprite sprite)

public abstract void SetLabel(string label)