How to reuse the components of another page.
For instance the buttons of 002-tocEn are reused in 003-tocJP page. The 003-tocJP uses the lua files of the 002-tocEn with the images of the 003-tocJP page at the runtime.
the same layer names should exist in the two pages
Page 02 English (tocEn)
For instance, these components are made in the page 02
- Pgae 03 Japanese (tocJP)
page properties - Context of page 003
set tocEn of page 002 for the context of the page 003 tocJp
When the page 003 is open, it loads the images of the page 003 with the lua files of the page 002. The value of UI.curPage is 3 as usual. You may setLang to “jp” for loading the page 003 and with the external code set in the page 002 can manage behaviors with the lang code.