Skip to content

Is there a tutorial for upgrading from version 5 to 6? #43

Answered by LanKuDot
SyaoranChang asked this question in Q&A
Discussion options

You must be logged in to vote

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()
  • event OnCenteredContentChanged -> OnFocusingBoxChanged
  • event OnBoxClick -> OnBoxSelected
  • option CenteredContentID -> InitFocusingContentID
  • option 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…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by SyaoranChang
Comment options

You must be logged in to vote
1 reply
@LanKuDot
Comment options

Comment options

You must be logged in to vote
5 replies
@LanKuDot
Comment options

@SyaoranChang
Comment options

@LanKuDot
Comment options

@LanKuDot
Comment options

@SyaoranChang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants