Example #1
0
 private string GetServerUrl(IGameConfigModel config)
 {
     if (Application.isEditor)
     {
         return(GetLocalServerUrl());
     }
     if (config.IsDevelopmentMode)
     {
         return(GetDevelopmentCloudServerUrl(config));
     }
     return(GetCloudServerUrl(config));
 }
Example #2
0
 protected abstract ILoaderService CreateLoaderService(IGameConfigModel config);
Example #3
0
 protected string GetDevelopmentCloudServerUrl(IGameConfigModel config)
 {
     return(string.Format("{0}/devbundles/{1}/{2}", config.AssetBundleUrl, Utility.AssetBundlesOutputPath,
                          Utility.GetPlatformName()));
 }