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