ATM, the progress of books is supported by 1-dimensional int list like [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1].
However, this cannot support a hierarchical structure of chapters and sections.
needed data structure:
support arbitrary dimensional structure of chapters
(if possible) easy-to-read data structure even after parsed by JsonUtility.ToJson(data, true)
Managing progress by chapter seems convenient, but it is not the main purpose of this app.
Use num of pages to manage progress now, and focus on other fundamental functionality.
ATM, the progress of books is supported by 1-dimensional int list like
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]
. However, this cannot support a hierarchical structure of chapters and sections.needed data structure:
JsonUtility.ToJson(data, true)