GameConfigData.cs 674 B

12345678910111213141516171819202122232425262728293031
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. //和账号无关的游戏数据
  5. public class GameConfigData
  6. {
  7. private static GameConfigData _instance;
  8. public static GameConfigData Instance
  9. {
  10. get
  11. {
  12. if (_instance == null)
  13. {
  14. _instance = new GameConfigData();
  15. }
  16. return _instance;
  17. }
  18. }
  19. public bool IsConfigInitialized = false;//配置信息是否初始化完成
  20. public CourseData course_data;//课程配置信息
  21. private GameConfigData()
  22. {
  23. course_data = new CourseData();
  24. }
  25. }