|
@@ -277,7 +277,7 @@ public class GameManager : MonoSingleton<GameManager>
|
|
|
UIManager.Instance.HideUI(UINameConfig.LoadingPanel);
|
|
|
downLoadCount = 0;
|
|
|
UIManager.Instance.ShowUI(UINameConfig.LoadingPanel, typeof(LoadingPanel), (int)ELoadState.updateEnd);
|
|
|
-
|
|
|
+ isShowDownTip = false;
|
|
|
|
|
|
}
|
|
|
}
|
|
@@ -728,7 +728,7 @@ public class GameManager : MonoSingleton<GameManager>
|
|
|
|
|
|
|
|
|
|
|
|
- UIManager.Instance.ShowUI(UINameConfig.LoadingPanel, typeof(LoadingPanel), (int)ELoadState.download);
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|
|
@@ -805,7 +805,7 @@ public class GameManager : MonoSingleton<GameManager>
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+ GameManager.Instance.isShowDownTip = true;
|
|
|
DownloadResManager.Instance.StartDownLoad();
|
|
|
}
|
|
|
|
|
@@ -1359,28 +1359,60 @@ public class GameManager : MonoSingleton<GameManager>
|
|
|
{
|
|
|
newmaterial = material;
|
|
|
List<ObjectValue> objects = new List<ObjectValue>();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
switch (material.typesetting)
|
|
|
{
|
|
|
case "1":
|
|
|
- objects = SRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
+ SRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
break;
|
|
|
case "2":
|
|
|
- objects = SRSectorLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
+ SRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
break;
|
|
|
case "3":
|
|
|
- objects = DRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
+ SRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
break;
|
|
|
case "4":
|
|
|
- objects = DRFanLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
+ SRSectorLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
break;
|
|
|
case "5":
|
|
|
- objects = SRTitleLayout.CalLayout(material, spoit, out newmaterial,"5");
|
|
|
+ DRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
break;
|
|
|
- case "自定义":
|
|
|
+ case "6":
|
|
|
+ DRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
break;
|
|
|
+ case "7":
|
|
|
+ DRTitleLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
+ break;
|
|
|
+ case "8":
|
|
|
+ DRFanLayout.CalLayout(material, spoit, out newmaterial);
|
|
|
+ break;
|
|
|
+
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
+
|
|
|
return objects;
|
|
|
}
|
|
|
|