|
@@ -2,6 +2,7 @@
|
|
using System.Collections;
|
|
using System.Collections;
|
|
using UnityEngine;
|
|
using UnityEngine;
|
|
using YooAsset;
|
|
using YooAsset;
|
|
|
|
+using GFGGame.Launcher;
|
|
|
|
|
|
namespace GFGGame
|
|
namespace GFGGame
|
|
{
|
|
{
|
|
@@ -176,7 +177,8 @@ namespace GFGGame
|
|
/// </summary>
|
|
/// </summary>
|
|
private string GetHostServerURL(string packageName)
|
|
private string GetHostServerURL(string packageName)
|
|
{
|
|
{
|
|
- string hostServerIP = "http://10.108.64.127";
|
|
|
|
|
|
+ //string hostServerIP = "http://10.108.64.127";
|
|
|
|
+ string hostServerIP = LauncherConfig.CDN_ROOT;
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
#if UNITY_EDITOR
|
|
if (UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.Android)
|
|
if (UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.Android)
|