ServerConfig.cs 518 B

123456789101112131415161718192021222324252627282930
  1. using UnityEngine;
  2. namespace SC.XR.Unity.Module_PlatformAccount
  3. {
  4. /// <summary>
  5. /// 服务器配置
  6. /// </summary>
  7. [System.Serializable]
  8. public class ServerConfig
  9. {
  10. /// <summary>
  11. /// 服务器渠道
  12. /// </summary>
  13. public string channel = "quli";
  14. /// <summary>
  15. /// 服务器url
  16. /// </summary>
  17. public ServerUrl url = ServerUrl.pro;
  18. }
  19. public enum ServerUrl
  20. {
  21. pro,
  22. fat,
  23. uat
  24. }
  25. }