ShowItemList Life Cycle¶
See ItemList State Machine to learn about the fields mentioned.
Setup¶
- Sets
listy
to -1 andmultiselect
to a new list if we are creating a new ItemList. - Sets
listpos
toposition
. - Sets
listcanceled
to false.
listvar
generation¶
Check the individual listtype to learn more.
Rerendering after scroll¶
- if
listlow
isn'tlisty
(meaning the list needs to be scrolled or it's a new ItemList) or listtype is the language selection list:
listdescbox
rendering¶
- if
showdescription
andlistvar
isn't empty.- Destroys the existing
listdescbox
if it isn't null. - Description box rendering
- Destroys the existing
- Sets the ItemList's localEulerAngle to Vector3.zero.