Skip to main content

RopeUIList

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

A UI list whose rows are laid out on a RopePoweredElementBoard, so the player scrolls by pulling a rope.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private RopePoweredElementBoard boardThe rope board that positions the rows.

Properties​

MemberWhat it is
override float CurrentValue { get; set; }The scroll position, read from and written to the board.

Methods​

MemberWhat it is
override void AddElement(ListElement element)Adds the row to the board and the element list.
override void ClearList(bool isDestroyingElements = false)Clears the list and the board.
override void CompleteReset(IEnumerable<ListElement> newElements, bool isDestroyingElements)Replaces all rows and puts the board back on the same scroll value.
override void RemoveElement(ListElement element)Removes the row from the list and the board.