| | 1 | | using System.Collections; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using DCL.Configuration; |
| | 4 | | using UnityEngine; |
| | 5 | |
|
| | 6 | | public static class BIWUrlUtils |
| | 7 | | { |
| 108 | 8 | | public static string GetUrlSceneObjectContent() { return BIWSettings.BASE_URL_SCENE_OBJECT_CONTENT.Replace("{ENV}", |
| | 9 | |
|
| 0 | 10 | | public static string GetUrlCatalog() { return BIWSettings.BASE_URL_CATALOG.Replace("{ENV}", GetEnvBase()); } |
| | 11 | |
|
| 31 | 12 | | public static string GetUrlAssetPackContent() { return BIWSettings.BASE_URL_ASSETS_PACK_CONTENT.Replace("{ENV}", Get |
| | 13 | |
|
| | 14 | | private static string GetEnvBase() |
| | 15 | | { |
| 139 | 16 | | if (KernelConfig.i.Get().network == "mainnet") |
| 139 | 17 | | return "org"; |
| | 18 | |
|
| 0 | 19 | | return "io"; |
| | 20 | | } |
| | 21 | | } |