Skip to content

feat: 完成关卡编辑器的数据的读写(JSON) #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AstoraGray opened this issue Nov 23, 2023 · 0 comments
Open

feat: 完成关卡编辑器的数据的读写(JSON) #70

AstoraGray opened this issue Nov 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@AstoraGray
Copy link
Collaborator

问题简述

完成将DataManager中的LevelData列表存为JSON数据,并且存储在文件夹中

实现方案

  • 完成保存为JSON文件的算法
  • 可以考虑使用Unitask来完成
  • 保存数据在Application.persistentDataPath中,或者更好的路径
  • 新的UI页面为选择关卡,包括一个Vertical Group的关卡列表,并且能够滚动,能够创建关卡和删除关卡,这个列表读取路径下保存的JSON文件。并且可以给关卡重命名
@AstoraGray AstoraGray added the enhancement New feature or request label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant