Skip to main content

SimpleUIList

A class in Root.Township, Alta.Meta.UI.

A UIList that stacks its elements in a column with a fixed vertical gap. Client UI.

Constructors​

MemberWhat it is
SimpleUIList()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private float spacingVertical offset between elements in local units (default -0.15, so each goes downward).

Methods​

MemberWhat it is
override void AddElement(ListElement element)Parents the element to the list and places it below the existing ones, spacing apart.