DataController.cs 529 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class DataController
  5. {
  6. /// <summary>
  7. /// 初始化游戏参数
  8. /// </summary>
  9. public static void GameInfo()
  10. {
  11. //PlayerManager.Instance.InitPlayerAtt();
  12. }
  13. /// <summary>
  14. /// 设置配置数据
  15. /// </summary>
  16. public static void SetCfg(LitJson.JsonData jsonData)
  17. {
  18. CfgManager.Instance.InitCfg(jsonData);
  19. //this.otherarg = (cfg.otherarg);
  20. //this.SetOtherArg()
  21. }
  22. }