973 B
973 B
ShowItemList Life Cycle
See ItemList State Machine to learn about the fields mentioned.
Setup
- Sets
listyto -1 andmultiselectto a new list if we are creating a new ItemList. - Sets
listpostoposition. - Sets
listcanceledto false.
listvar generation
Check the individual listtype to learn more.
Rerendering after scroll
- if
listlowisn'tlisty(meaning the list needs to be scrolled or it's a new ItemList) or listtype is the language selection list:
listdescbox rendering
- if
showdescriptionandlistvarisn't empty.- Destroys the existing
listdescboxif it isn't null. - Description box rendering
- Destroys the existing
- Sets the ItemList's localEulerAngle to Vector3.zero.