Is there a tutorial for upgrading from version 5 to 6? #43
-
Hi, I want to upgrade from version 5 to 6. ListBox.cs same funtion was disappeared too. Currently do not know how to deal with the version of the code written in version 5, upgrade to version 6 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Yeah, because of the introduction of the top and bottom focusing position.
And for the |
Beta Was this translation helpful? Give feedback.
-
Hi, I did not write the initial code changes, but seems want to do like to change the background from gray to color when handling an object from unfocused to focusing, and to change the background from colored to gray when focusing to unfocused in UpdatePositon(). |
Beta Was this translation helpful? Give feedback.
-
Hi, 1.How to set ScrollingList.ListSetting.InitFocusingContentID by script? I try ScrollingList.SelectContentID() or ScrollingList.Refresh() will get null error If called too early when ScrollingList is not Initialized. 2.
About Refresh(int focusingContentID = -1)
version 6
3.How to simply update all the ListBox, or can only call like this
|
Beta Was this translation helpful? Give feedback.
Yeah, because of the introduction of the top and bottom focusing position.
All
___Centered___
related functions or events have been renamed to___Focusing___
:GetCenteredBox()
->GetFocusingBox()
GetCenteredContentID()
->GetFocusingContentID()
OnCenteredContentChanged
->OnFocusingBoxChanged
OnBoxClick
->OnBoxSelected
CenteredContentID
->InitFocusingContentID
CenterSelectedBox
->FocusSelectedBox
And for the
UpdatePositon()
, it is not a virtual function in the version 5. Maybe there has the modified code.The code structure has been modified in the version 6.
Therefore, we could start from what kind of effect you want to achieve.
And then find the solution f…