TestCon.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class TestCon
  5. {
  6. public static string orderId
  7. {
  8. get
  9. {
  10. #if UNITY_ANDROID
  11. return "900a0733-2e50-4479-99b9-df331e4fbab8";
  12. #elif UNITY_IOS
  13. return "900a0733-2e50-4479-99b9-df331e4fbab8";
  14. #else
  15. return "";
  16. #endif
  17. }
  18. }
  19. public static string gameID
  20. {
  21. get
  22. {
  23. #if UNITY_ANDROID
  24. return "80388d1f-8901-414c-b7f8-62d125e60200";
  25. #elif UNITY_IOS
  26. return "80388d1f-8901-414c-b7f8-62d125e60200";
  27. #else
  28. return "";
  29. #endif
  30. }
  31. }
  32. public static string gameSecret
  33. {
  34. get
  35. {
  36. #if UNITY_ANDROID
  37. return "12345678123456781234567812345678";
  38. #elif UNITY_IOS
  39. return "12345678123456781234567812345678";
  40. #else
  41. return "";
  42. #endif
  43. }
  44. }
  45. public static string TestHost
  46. {
  47. get
  48. {
  49. #if UNITY_ANDROID
  50. return "https://testchinaapi.youloft.com";
  51. #elif UNITY_IOS
  52. return "https://testchinaapi.youloft.com";
  53. #else
  54. return "";
  55. #endif
  56. }
  57. }
  58. }