Class PooledScrollView
An entry list with all UI elements pooled. This is the component for handling the scroll list.
public class PooledScrollView : UdonSharpEventSender
- Inheritance
-
PooledScrollView
Fields
autoSelect
public bool autoSelect
Field Value
lastClickedIndex
[NonSerialized]
public int lastClickedIndex
Field Value
lastDeletedIndex
[NonSerialized]
public int lastDeletedIndex
Field Value
lastInteractIndex
[NonSerialized]
public int lastInteractIndex
Field Value
Properties
CanDelete
public bool CanDelete { get; set; }
Property Value
CanInteract
public bool CanInteract { get; set; }
Property Value
EntryNames
public string[] EntryNames { get; set; }
Property Value
- string[]
EventPrefix
public string EventPrefix { get; set; }
Property Value
ScrollPosition
public float ScrollPosition { get; set; }
Property Value
SelectedIndex
public int SelectedIndex { get; set; }
Property Value
Methods
ScrollTo(int)
public void ScrollTo(int index)
Parameters
indexint
ScrollToSelected()
public void ScrollToSelected()
SetEntries(string[], int, int)
public void SetEntries(string[] entries, int offset, int count)
Parameters
SetIndexWithoutScroll(int)
public void SetIndexWithoutScroll(int index)
Parameters
indexint
_OnEntryClick()
public void _OnEntryClick()
_OnEntryDelete()
public void _OnEntryDelete()
_OnScroll()
public void _OnScroll()