GlobalProto.cs 314 B

123456789101112131415161718192021
  1. namespace Model
  2. {
  3. public class GlobalProto
  4. {
  5. public string AssetBundleServerUrl;
  6. public string Address;
  7. public string GetUrl()
  8. {
  9. string url = this.AssetBundleServerUrl;
  10. #if UNITY_ANDROID
  11. url += "Android/";
  12. #elif UNITY_IOS
  13. url += "IOS/";
  14. #else
  15. url += "PC/";
  16. #endif
  17. return url;
  18. }
  19. }
  20. }