Bladeren bron

修复切换后台可能无法回到自己花园的Bug

LiuQilin 7 jaren geleden
bovenliggende
commit
0c55770426
56 gewijzigde bestanden met toevoegingen van 554 en 413 verwijderingen
  1. 3 0
      .gitignore
  2. 0 0
      Assets/HotUpdate.meta
  3. 3 2
      Assets/HotUpdate/Android.meta
  4. 3 2
      Assets/HotUpdate/IOS.meta
  5. 0 1
      Assets/HotUpdateTest/MD5.txt
  6. 0 8
      Assets/HotUpdateTest/MD5.txt.meta
  7. 0 6
      Assets/HotUpdateTest/MD5Dictionary.txt
  8. 0 8
      Assets/HotUpdateTest/MD5Dictionary.txt.meta
  9. BIN
      Assets/HotUpdateTest/new_dress_config
  10. 0 16
      Assets/HotUpdateTest/new_dress_config.manifest
  11. 0 8
      Assets/HotUpdateTest/new_dress_config.manifest.meta
  12. BIN
      Assets/HotUpdateTest/new_dress_ske
  13. 0 16
      Assets/HotUpdateTest/new_dress_ske.manifest
  14. 0 8
      Assets/HotUpdateTest/new_dress_ske.manifest.meta
  15. BIN
      Assets/HotUpdateTest/new_dress_tex
  16. 0 27
      Assets/HotUpdateTest/new_dress_tex.manifest
  17. 0 8
      Assets/HotUpdateTest/new_dress_tex.manifest.meta
  18. 0 8
      Assets/HotUpdateTest/new_dress_tex.meta
  19. BIN
      Assets/HotUpdateTest/new_flower_config
  20. 0 16
      Assets/HotUpdateTest/new_flower_config.manifest
  21. 0 8
      Assets/HotUpdateTest/new_flower_config.manifest.meta
  22. 0 8
      Assets/HotUpdateTest/new_flower_config.meta
  23. BIN
      Assets/HotUpdateTest/new_flower_tex
  24. 0 18
      Assets/HotUpdateTest/new_flower_tex.manifest
  25. 0 8
      Assets/HotUpdateTest/new_flower_tex.manifest.meta
  26. 0 8
      Assets/HotUpdateTest/new_flower_tex.meta
  27. BIN
      Assets/HotUpdateTest/new_language_config
  28. 0 18
      Assets/HotUpdateTest/new_language_config.manifest
  29. 0 8
      Assets/HotUpdateTest/new_language_config.manifest.meta
  30. 0 8
      Assets/HotUpdateTest/new_language_config.meta
  31. 0 25
      Assets/Plugins/Alipay/IOS/AlipaySDK.framework.meta
  32. 9 9
      Assets/Resource/DragonBones/Unity/src/DragonBones/unity/UnityFactory.cs
  33. 2 2
      Assets/Resource/Logo.unity
  34. 28 15
      Assets/Resource/Prefab/Object/DebugMode.prefab
  35. 1 1
      Assets/Resource/Sprite/Editor/HotUpdate/NewFlower/Flower36.png.meta
  36. 0 1
      Assets/Resource/XML/Config/flower_config.xml
  37. 4 4
      Assets/Resource/XML/Config/new_dressRoom_config.xml
  38. 1 0
      Assets/Resource/XML/Config/new_flower_config.xml
  39. BIN
      Assets/Resource/Xlsx/new_dressRoom_config.xlsx
  40. 13 13
      Assets/Script/AssetBundleUtility/AssetBundleUtility.cs
  41. 19 3
      Assets/Script/AssetBundleUtility/AssetBundleUtility.prefab
  42. 31 6
      Assets/Script/Editor/EditorBundle.cs
  43. 3 1
      Assets/Script/Manage/GardenManager.cs
  44. 47 1
      Assets/Script/Manage/HttpManager.cs
  45. 25 5
      Assets/Script/Manage/Initializer.cs
  46. 36 14
      Assets/Script/Manage/Manager.cs
  47. 7 1
      Assets/Script/Manage/MiniGameManager.cs
  48. 2 1
      Assets/Script/Object/Player.cs
  49. 6 0
      Assets/Script/Object/Skill/Ability.cs
  50. 8 0
      Assets/Script/Object/Skill/BigSkill.cs
  51. 14 6
      Assets/Script/Object/Skill/Pack.cs
  52. 6 0
      Assets/Script/Object/Skill/Skill.cs
  53. 277 79
      Assets/Script/Tool/Bundle.cs
  54. 3 3
      ProjectSettings/GraphicsSettings.asset
  55. 3 3
      ProjectSettings/ProjectSettings.asset
  56. 0 2
      第五期.txt

+ 3 - 0
.gitignore

@@ -4,6 +4,9 @@
 **/[Bb]uild/
 **/[Bb]uilds/
 **/Assets/StreamingAssets/
+**/Assets/HotUpdate/IOS/
+**/Assets/HotUpdate/Android/
+**/Assets/HotUpdate/Windows/
 **/Assets/AssetStoreTools*
 
 # Autogenerated VS/MD solution and project files

+ 0 - 0
Assets/HotUpdateTest.meta → Assets/HotUpdate.meta


+ 3 - 2
Assets/HotUpdateTest/new_dress_config.meta → Assets/HotUpdate/Android.meta

@@ -1,6 +1,7 @@
 fileFormatVersion: 2
-guid: 1f03e821e1ebdc24e9f0fa80e2efcc0c
-timeCreated: 1516869986
+guid: 9d06c4ce1b052f748a55d54ee897edc8
+folderAsset: yes
+timeCreated: 1516931711
 licenseType: Pro
 DefaultImporter:
   userData: 

+ 3 - 2
Assets/HotUpdateTest/new_dress_ske.meta → Assets/HotUpdate/IOS.meta

@@ -1,6 +1,7 @@
 fileFormatVersion: 2
-guid: 46e6bdba81cd7ce4695e7e3b87409b5b
-timeCreated: 1516869986
+guid: 3ae5f59da051da245834098829253171
+folderAsset: yes
+timeCreated: 1516931719
 licenseType: Pro
 DefaultImporter:
   userData: 

+ 0 - 1
Assets/HotUpdateTest/MD5.txt

@@ -1 +0,0 @@
-AE29F7EE00843A792D96CA02D6907FAA

+ 0 - 8
Assets/HotUpdateTest/MD5.txt.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c8499acffdebb0b48a8e94e0ab8c1226
-timeCreated: 1516870172
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 6
Assets/HotUpdateTest/MD5Dictionary.txt

@@ -1,6 +0,0 @@
-new_dress_config|F1F0FA4EB0C70A658BB03E935738C422|file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_config
-new_dress_ske|531AE05FA301BBAD7B58B532BCD04CFD|file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_ske
-new_dress_tex|3060DC78E5C9A8D58CF440C6C66035C4|file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_tex
-new_flower_config|0CD417F29E1C7580A742BFC33DAE7DF5|file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_flower_config
-new_flower_tex|8640D886CB7D71B5D5EBA8D0FF037573|file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_flower_tex
-new_language_config|D7683A0A8867FBC6D32CFF5C9F41BAC4|file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_language_config

+ 0 - 8
Assets/HotUpdateTest/MD5Dictionary.txt.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 7fe17844f58d33c4faebe20879be6f88
-timeCreated: 1516870172
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/HotUpdateTest/new_dress_config


+ 0 - 16
Assets/HotUpdateTest/new_dress_config.manifest

@@ -1,16 +0,0 @@
-ManifestFileVersion: 0
-CRC: 1435180986
-Hashes:
-  AssetFileHash:
-    serializedVersion: 2
-    Hash: 8db3b98941bccb5056f9302c1f9ce7b2
-  TypeTreeHash:
-    serializedVersion: 2
-    Hash: 1033bf7ddfd4c6d43e7a6382c0a0a61a
-HashAppended: 0
-ClassTypes:
-- Class: 49
-  Script: {instanceID: 0}
-Assets:
-- Assets/Resource/XML/Config/new_dressRoom_config.xml
-Dependencies: []

+ 0 - 8
Assets/HotUpdateTest/new_dress_config.manifest.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 07f9883b24824ba4eb5565435106c8f1
-timeCreated: 1516869986
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/HotUpdateTest/new_dress_ske


+ 0 - 16
Assets/HotUpdateTest/new_dress_ske.manifest

@@ -1,16 +0,0 @@
-ManifestFileVersion: 0
-CRC: 1214458779
-Hashes:
-  AssetFileHash:
-    serializedVersion: 2
-    Hash: 4e04ffbb6a9f00a00f72656f4e551357
-  TypeTreeHash:
-    serializedVersion: 2
-    Hash: 1033bf7ddfd4c6d43e7a6382c0a0a61a
-HashAppended: 0
-ClassTypes:
-- Class: 49
-  Script: {instanceID: 0}
-Assets:
-- Assets/Resource/Sprite/Editor/HotUpdate/NewDress/Dress_ske.json
-Dependencies: []

+ 0 - 8
Assets/HotUpdateTest/new_dress_ske.manifest.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c055676457b3c9746a9fadac68a274f0
-timeCreated: 1516869986
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/HotUpdateTest/new_dress_tex


+ 0 - 27
Assets/HotUpdateTest/new_dress_tex.manifest

@@ -1,27 +0,0 @@
-ManifestFileVersion: 0
-CRC: 3005921567
-Hashes:
-  AssetFileHash:
-    serializedVersion: 2
-    Hash: 3b0a4652df90c0e3947302bacdcbdeb9
-  TypeTreeHash:
-    serializedVersion: 2
-    Hash: afff6fb5165c398f343463019e0d022b
-HashAppended: 0
-ClassTypes:
-- Class: 28
-  Script: {instanceID: 0}
-- Class: 49
-  Script: {instanceID: 0}
-- Class: 213
-  Script: {instanceID: 0}
-Assets:
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u4E0B\u886314_tex.json"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u4E0A\u886314.png"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u5934\u53D114\uFF08\u7C89\u8272\uFF09.png"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u88C5\u997014_tex.json"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u4E0A\u886314_tex.json"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u88C5\u997014.png"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u5934\u53D114\uFF08\u7C89\u8272\uFF09_tex.json"
-- "Assets/Resource/Sprite/Editor/HotUpdate/NewDress/\u4E0B\u886314.png"
-Dependencies: []

+ 0 - 8
Assets/HotUpdateTest/new_dress_tex.manifest.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3fc4ae25f9a5ed447b41aec2359d88c7
-timeCreated: 1516869986
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/HotUpdateTest/new_dress_tex.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: de2a2ad7ab38f9e4b80402dc8153ccbe
-timeCreated: 1516869986
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/HotUpdateTest/new_flower_config


+ 0 - 16
Assets/HotUpdateTest/new_flower_config.manifest

@@ -1,16 +0,0 @@
-ManifestFileVersion: 0
-CRC: 2514910370
-Hashes:
-  AssetFileHash:
-    serializedVersion: 2
-    Hash: cdf89807a0f3410ee523aeeb99db94ff
-  TypeTreeHash:
-    serializedVersion: 2
-    Hash: 1033bf7ddfd4c6d43e7a6382c0a0a61a
-HashAppended: 0
-ClassTypes:
-- Class: 49
-  Script: {instanceID: 0}
-Assets:
-- Assets/Resource/XML/Config/new_flower_config.xml
-Dependencies: []

+ 0 - 8
Assets/HotUpdateTest/new_flower_config.manifest.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: c60a0da0ce4bca04aa79b2bad95f89ba
-timeCreated: 1516869986
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/HotUpdateTest/new_flower_config.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 2322ebf659ac53340bfdc21c831c6f31
-timeCreated: 1516869986
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/HotUpdateTest/new_flower_tex


+ 0 - 18
Assets/HotUpdateTest/new_flower_tex.manifest

@@ -1,18 +0,0 @@
-ManifestFileVersion: 0
-CRC: 3681479126
-Hashes:
-  AssetFileHash:
-    serializedVersion: 2
-    Hash: 545d684925f1aaf4c2103de315737004
-  TypeTreeHash:
-    serializedVersion: 2
-    Hash: 4d24bf54f46935ed9e6cf78ac481bb9d
-HashAppended: 0
-ClassTypes:
-- Class: 28
-  Script: {instanceID: 0}
-- Class: 213
-  Script: {instanceID: 0}
-Assets:
-- Assets/Resource/Sprite/Editor/HotUpdate/NewFlower/Flower36.png
-Dependencies: []

+ 0 - 8
Assets/HotUpdateTest/new_flower_tex.manifest.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a794813af6ecaf149a0f5a6801806abe
-timeCreated: 1516869986
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/HotUpdateTest/new_flower_tex.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b2d57842484c01a4ea3a286143207ee1
-timeCreated: 1516869986
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/HotUpdateTest/new_language_config


+ 0 - 18
Assets/HotUpdateTest/new_language_config.manifest

@@ -1,18 +0,0 @@
-ManifestFileVersion: 0
-CRC: 3985457301
-Hashes:
-  AssetFileHash:
-    serializedVersion: 2
-    Hash: 1f416e3ef7e6b37669d8ceee5191d980
-  TypeTreeHash:
-    serializedVersion: 2
-    Hash: 1033bf7ddfd4c6d43e7a6382c0a0a61a
-HashAppended: 0
-ClassTypes:
-- Class: 49
-  Script: {instanceID: 0}
-Assets:
-- Assets/Resource/XML/lan/new_ChineseSimplified.xml
-- Assets/Resource/XML/lan/new_ChineseTraditional.xml
-- Assets/Resource/XML/lan/new_English.xml
-Dependencies: []

+ 0 - 8
Assets/HotUpdateTest/new_language_config.manifest.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ca10b26506fe3e14eab1e2d8186fb97e
-timeCreated: 1516869986
-licenseType: Pro
-TextScriptImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/HotUpdateTest/new_language_config.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5b03cd71e42736741a067becf4ad756b
-timeCreated: 1516869986
-licenseType: Pro
-DefaultImporter:
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 25
Assets/Plugins/Alipay/IOS/AlipaySDK.framework.meta

@@ -1,25 +0,0 @@
-fileFormatVersion: 2
-guid: 786969225a8dc4e0eb4e00a91e7e1501
-folderAsset: yes
-timeCreated: 1502698138
-licenseType: Pro
-PluginImporter:
-  serializedVersion: 1
-  iconMap: {}
-  executionOrder: {}
-  isPreloaded: 0
-  isOverridable: 0
-  platformData:
-    Any:
-      enabled: 0
-      settings: {}
-    Editor:
-      enabled: 0
-      settings:
-        DefaultValueInitialized: true
-    iOS:
-      enabled: 1
-      settings: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 9 - 9
Assets/Resource/DragonBones/Unity/src/DragonBones/unity/UnityFactory.cs

@@ -232,21 +232,21 @@ namespace DragonBones
             if (textureAtlasData.texture == null)
             {
                 //var textureAtlas = Resources.Load<Texture2D>(textureAtlasData.imagePath);
-                Initializer.DebugText.text = "error : ufr0";
+                //Initializer.DebugText.text = "error : ufr0";
                 var textureAtlas = ResourceManager.Load<Texture2D>(BundlePath, Folder.Scene);
-                Initializer.DebugText.text = "error : ufr1";
+                //Initializer.DebugText.text = "error : ufr1";
                 var shader = Shader.Find(defaultShaderName);
-                Initializer.DebugText.text = "error : ufr2";
+                //Initializer.DebugText.text = "error : ufr2";
                 var material = new Material(shader);
-                Initializer.DebugText.text = "error : ufr3";
+                //Initializer.DebugText.text = "error : ufr3";
                 Materials.Add(material);
-                Initializer.DebugText.text = "error : ufr4";
+                //Initializer.DebugText.text = "error : ufr4";
                 material.mainTexture = textureAtlas;
 
-                Initializer.DebugText.text = "error : ufr5";
+                //Initializer.DebugText.text = "error : ufr5";
                 AtlasDictionary.Add(textureAtlas.name, textureAtlas);
 
-                Initializer.DebugText.text = "error : ufr6";
+                //Initializer.DebugText.text = "error : ufr6";
                 textureAtlasData.texture = material;
                 textureAtlasData._disposeTexture = true;
             }
@@ -528,10 +528,10 @@ namespace DragonBones
 
             BundlePath = bundlePath;
 
-            Initializer.DebugText.text = "error : ufl0";
+            //Initializer.DebugText.text = "error : ufl0";
             var textureAtlasData = ParseTextureAtlasData((Dictionary<string, object>)DragonbonesMiniJSON.Json.Deserialize(textureAtlasJSON.text), null, null, 0.0f) as UnityTextureAtlasData;
 
-            Initializer.DebugText.text = "error : ufl1";
+            //Initializer.DebugText.text = "error : ufl1";
             _refreshTextureAtlas(textureAtlasData);
 
             return textureAtlasData;

+ 2 - 2
Assets/Resource/Logo.unity

@@ -612,9 +612,9 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: f1828554d8ffa12449b221fe29b2c32c, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
-  AuditEdition: 0
+  AuditEdition: 1
   DebugMode: 0
-  CatchException: 0
+  CatchException: 1
   DebugModeGo: {fileID: 0}
 --- !u!4 &1833966245
 Transform:

+ 28 - 15
Assets/Resource/Prefab/Object/DebugMode.prefab

@@ -26,7 +26,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!4 &4435590579908176
 Transform:
   m_ObjectHideFlags: 1
@@ -51,6 +51,33 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: 93a1da3798d4c6b44a5a139df98a95f3, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  NewDressConfigList:
+  - {fileID: 4900000, guid: 9d82c9e9e16ce184e9b9ef4fe8de4e2b, type: 3}
+  NewDressSkeList:
+  - {fileID: 4900000, guid: 578290abd89616344820081776adb70a, type: 3}
+  NewDressTexList:
+  - {fileID: 2800000, guid: 5fa5bf8d920e02e478f5f48fd4a17c4d, type: 3}
+  - {fileID: 2800000, guid: 9134c52440e84c94691416af2d76f4e6, type: 3}
+  - {fileID: 2800000, guid: 595ba4eea8a77cd488494ec8664afc81, type: 3}
+  - {fileID: 2800000, guid: 605aad146433a1d459ac657b1d0d7710, type: 3}
+  NewDressTexConfigList:
+  - {fileID: 4900000, guid: 0c710b3abfc5cf7429d8ebd1a555598f, type: 3}
+  - {fileID: 4900000, guid: 11194f1ec403c4b478fd9c3fb3ef8e6c, type: 3}
+  - {fileID: 4900000, guid: 4ed6a8f18430d8743addbcb7bb976b48, type: 3}
+  - {fileID: 4900000, guid: 474b844c27d8bf94e807b68f790c39d3, type: 3}
+  NewDressSpriteList:
+  - {fileID: 21300000, guid: 605aad146433a1d459ac657b1d0d7710, type: 3}
+  - {fileID: 21300000, guid: 595ba4eea8a77cd488494ec8664afc81, type: 3}
+  - {fileID: 21300000, guid: 9134c52440e84c94691416af2d76f4e6, type: 3}
+  - {fileID: 21300000, guid: 5fa5bf8d920e02e478f5f48fd4a17c4d, type: 3}
+  NewLanguageList:
+  - {fileID: 4900000, guid: 5cc0ef6383647534e9a83fd5843938ed, type: 3}
+  - {fileID: 4900000, guid: a79829841944453429626186870453f6, type: 3}
+  - {fileID: 4900000, guid: 4698881600aaf234a921ace52ac3c9b2, type: 3}
+  NewFlowerConfigList:
+  - {fileID: 4900000, guid: 017f420931600084280cc54894830112, type: 3}
+  NewFlowerSpriteList:
+  - {fileID: 21300000, guid: 39300fd0e860ea143850d7c4ec94625d, type: 3}
   AtlasTexture: {fileID: 2800000, guid: b31bbacb2e0ff3d459f4878983a39b50, type: 3}
   ExpressionTexture: {fileID: 2800000, guid: 980c962c52249774e9266e82d2496d13, type: 3}
   UiList:
@@ -300,17 +327,3 @@ MonoBehaviour:
   - {fileID: 4900000, guid: 37bda6257ca3a7f4e82ee65e8fde6832, type: 3}
   DiscardList: []
   PlazaRoomList: []
-  DressList:
-  - {fileID: 4900000, guid: 578290abd89616344820081776adb70a, type: 3}
-  - {fileID: 2800000, guid: 605aad146433a1d459ac657b1d0d7710, type: 3}
-  - {fileID: 4900000, guid: 474b844c27d8bf94e807b68f790c39d3, type: 3}
-  - {fileID: 2800000, guid: 595ba4eea8a77cd488494ec8664afc81, type: 3}
-  - {fileID: 4900000, guid: 4ed6a8f18430d8743addbcb7bb976b48, type: 3}
-  - {fileID: 2800000, guid: 9134c52440e84c94691416af2d76f4e6, type: 3}
-  - {fileID: 4900000, guid: 11194f1ec403c4b478fd9c3fb3ef8e6c, type: 3}
-  - {fileID: 2800000, guid: 5fa5bf8d920e02e478f5f48fd4a17c4d, type: 3}
-  - {fileID: 4900000, guid: 0c710b3abfc5cf7429d8ebd1a555598f, type: 3}
-  - {fileID: 21300000, guid: 605aad146433a1d459ac657b1d0d7710, type: 3}
-  - {fileID: 21300000, guid: 595ba4eea8a77cd488494ec8664afc81, type: 3}
-  - {fileID: 21300000, guid: 9134c52440e84c94691416af2d76f4e6, type: 3}
-  - {fileID: 21300000, guid: 5fa5bf8d920e02e478f5f48fd4a17c4d, type: 3}

+ 1 - 1
Assets/Resource/Sprite/Editor/HotUpdate/NewFlower/Flower36.png.meta

@@ -88,5 +88,5 @@ TextureImporter:
     outline: []
   spritePackingTag: Flower
   userData: 
-  assetBundleName: atlas2
+  assetBundleName: new_flower_tex
   assetBundleVariant: 

+ 0 - 1
Assets/Resource/XML/Config/flower_config.xml

@@ -34,7 +34,6 @@
   <item id="33" name="紫罗兰(紫)" desc="" unlock_ahead_cur="2" unlock_ahead="700" icon="Flower33" anim="" flower_coin_buff="0.82" />
   <item id="34" name="紫罗兰(蓝)" desc="" unlock_ahead_cur="2" unlock_ahead="700" icon="Flower34" anim="" flower_coin_buff="0.83" />
   <item id="35" name="鸡冠花(红)" desc="" unlock_ahead_cur="2" unlock_ahead="1000" icon="Flower35" anim="" flower_coin_buff="0.84" />
-  <item id="36" name="鸡冠花(黄)" desc="" unlock_ahead_cur="2" unlock_ahead="1000" icon="Flower36" anim="" flower_coin_buff="0.85" />
   <comment>
     <id>
 id

+ 4 - 4
Assets/Resource/XML/Config/new_dressRoom_config.xml

@@ -1,8 +1,8 @@
 <data>
-  <item id="31" jump_frequency="" type="1" index="29" bodypart="1" level="50" buy_currency="2" buy_amt="500" buy_advance_currency="" buy_advance_amt="" pixelSize="90" iconOffset="" icon1offset="" icon2offset="" spriteName="头发14(粉色)" spriteAlpha="" armatureName="头发14(粉色)" extraBodypart="" extraArmatureName="" ignore="0" />
-  <item id="218" jump_frequency="" type="3" index="17" bodypart="2" level="50" buy_currency="2" buy_amt="2000" buy_advance_currency="" buy_advance_amt="" pixelSize="100" iconOffset="" icon1offset="" icon2offset="" spriteName="下衣14" spriteAlpha="" armatureName="下衣14" extraBodypart="" extraArmatureName="" ignore="0" />
-  <item id="613" jump_frequency="" type="4" index="12" bodypart="4" level="50" buy_currency="2" buy_amt="450" buy_advance_currency="" buy_advance_amt="" pixelSize="80" iconOffset="" icon1offset="" icon2offset="" spriteName="装饰14" spriteAlpha="" armatureName="装饰14" extraBodypart="" extraArmatureName="" ignore="0" />
-  <item id="818" jump_frequency="" type="2" index="17" bodypart="5" level="50" buy_currency="2" buy_amt="750" buy_advance_currency="" buy_advance_amt="" pixelSize="110" iconOffset="" icon1offset="" icon2offset="" spriteName="上衣14" spriteAlpha="" armatureName="上衣14" extraBodypart="10,9" extraArmatureName="" ignore="0" />
+  <item id="31" jump_frequency="" type="1" index="29" bodypart="1" level="50" buy_currency="2" buy_amt="500" buy_advance_currency="" buy_advance_amt="" pixelSize="90" iconOffset="" icon1offset="" icon2offset="" spriteName="头发14(粉色)" spriteAlpha="" armatureName="头发14(粉色)" extraBodypart="" extraArmatureName="" ignore="1" />
+  <item id="218" jump_frequency="" type="3" index="17" bodypart="2" level="50" buy_currency="2" buy_amt="2000" buy_advance_currency="" buy_advance_amt="" pixelSize="100" iconOffset="" icon1offset="" icon2offset="" spriteName="下衣14" spriteAlpha="" armatureName="下衣14" extraBodypart="" extraArmatureName="" ignore="1" />
+  <item id="613" jump_frequency="" type="4" index="12" bodypart="4" level="50" buy_currency="2" buy_amt="450" buy_advance_currency="" buy_advance_amt="" pixelSize="80" iconOffset="" icon1offset="" icon2offset="" spriteName="装饰14" spriteAlpha="" armatureName="装饰14" extraBodypart="" extraArmatureName="" ignore="1" />
+  <item id="818" jump_frequency="" type="2" index="17" bodypart="5" level="50" buy_currency="2" buy_amt="750" buy_advance_currency="" buy_advance_amt="" pixelSize="110" iconOffset="" icon1offset="" icon2offset="" spriteName="上衣14" spriteAlpha="" armatureName="上衣14" extraBodypart="10,9" extraArmatureName="" ignore="1" />
   <comment>
     <id>
 id

+ 1 - 0
Assets/Resource/XML/Config/new_flower_config.xml

@@ -1,4 +1,5 @@
 <data>
+  <item id="36" name="鸡冠花(黄)" desc="" unlock_ahead_cur="2" unlock_ahead="1000" icon="Flower36" anim="" flower_coin_buff="0.85" />
   <comment>
     <id>
 id

BIN
Assets/Resource/Xlsx/new_dressRoom_config.xlsx


+ 13 - 13
Assets/Script/AssetBundleUtility/AssetBundleUtility.cs

@@ -202,28 +202,28 @@ namespace assetBundleUtility
 	    /// <param name="persistentFolder">更新后AssetBundle存放的目录</param>
 	    /// <param name="streamingFolder">源AssetBundle存放的目录</param>
 	    /// <returns></returns>
-	    public static List<AssetBundleSet> GetAssetBundleSetsFromFolders(string persistentFolder, string streamingFolder)
+	    public static List<AssetBundleSet> GetAssetBundleSetsFromFolders(string persistentFolder/*, string streamingFolder*/)
 	    {
 	        List<AssetBundleSet> persistentAssetBundleSets = new List<AssetBundleSet>();
 	        if (Directory.Exists(persistentFolder))
 	        {
 	            persistentAssetBundleSets.AddRange(GetAllAssetBundleSetFromFolder(persistentFolder, persistentFolder));
 	        }
-	        List<AssetBundleSet> streamingAssetBundleSets = new List<AssetBundleSet>();
-	        streamingAssetBundleSets.AddRange(GetAllAssetBundleSetFromFolder(streamingFolder, persistentFolder));
+	        //List<AssetBundleSet> streamingAssetBundleSets = new List<AssetBundleSet>();
+	        //streamingAssetBundleSets.AddRange(GetAllAssetBundleSetFromFolder(streamingFolder, persistentFolder));
 
-            for (int i = 0; i < streamingAssetBundleSets.Count; i++)
-	        {
-	            foreach (var persistentAssetBundleSet in persistentAssetBundleSets)
-	            {
-	                if (streamingAssetBundleSets[i].Name != persistentAssetBundleSet.Name) continue;
-	                streamingAssetBundleSets.RemoveAt(i--);
-                    break;
-	            }
-	        }
+         //   for (int i = 0; i < streamingAssetBundleSets.Count; i++)
+	        //{
+	        //    foreach (var persistentAssetBundleSet in persistentAssetBundleSets)
+	        //    {
+	        //        if (streamingAssetBundleSets[i].Name != persistentAssetBundleSet.Name) continue;
+	        //        streamingAssetBundleSets.RemoveAt(i--);
+         //           break;
+	        //    }
+	        //}
 
 	        List<AssetBundleSet> assetBundleSets = new List<AssetBundleSet>();
-	        assetBundleSets.AddRange(streamingAssetBundleSets);
+	        //assetBundleSets.AddRange(streamingAssetBundleSets);
 	        assetBundleSets.AddRange(persistentAssetBundleSets);
 	        for (int i = 0; i < assetBundleSets.Count; i++)
 	        {

+ 19 - 3
Assets/Script/AssetBundleUtility/AssetBundleUtility.prefab

@@ -52,9 +52,25 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   AssetBundleGroups:
-  - MD5FileName: MD5.txt
-    MD5DictionaryFileName: MD5Dictionary.txt
-    OutputPath: Assets\HotUpdateTest
+  - MD5FileName: AndroidMD5.txt
+    MD5DictionaryFileName: AndroidMD5Dictionary.txt
+    OutputPath: Assets\HotUpdate\Android
+    AssetBundleSets:
+    - Object: {fileID: 102900000, guid: 46a699a86f13316489a948f63bfaf901, type: 3}
+      URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_config
+    - Object: {fileID: 102900000, guid: 33466405b7ecc6b4c901205ff5be2667, type: 3}
+      URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_ske
+    - Object: {fileID: 102900000, guid: 1a49bf28873b63346a9d25a39c921fa7, type: 3}
+      URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_tex
+    - Object: {fileID: 102900000, guid: 93b2fda5a42fe4a4cb89c237fd0e01ec, type: 3}
+      URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_flower_config
+    - Object: {fileID: 102900000, guid: 5b8c44112f2fe534c9dfaa0a6dfc0cf5, type: 3}
+      URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_flower_tex
+    - Object: {fileID: 102900000, guid: 53f574c01e2650046b757b46d3da7100, type: 3}
+      URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_language_config
+  - MD5FileName: IOSMD5.txt
+    MD5DictionaryFileName: IOSMD5Dictionary.txt
+    OutputPath: Assets\HotUpdate\IOS
     AssetBundleSets:
     - Object: {fileID: 102900000, guid: 1f03e821e1ebdc24e9f0fa80e2efcc0c, type: 3}
       URL: file://E:\UnityProject\Garden5\Assets\HotUpdateTest\new_dress_config

+ 31 - 6
Assets/Script/Editor/EditorBundle.cs

@@ -141,7 +141,7 @@ public class EditorBundle : Editor
 
         string prefix = Application.streamingAssetsPath + "/Bundle/Android";
         BuildPipeline.BuildAssetBundles(prefix, BuildAssetBundleOptions.ForceRebuildAssetBundle, BuildTarget.Android);
-        Move(prefix);
+        Move(prefix, BuildTarget.Android);
     }
 
     [MenuItem("DashGame/Bundle/PackIOS")]
@@ -151,7 +151,7 @@ public class EditorBundle : Editor
 
         string prefix = Application.streamingAssetsPath + "/Bundle/IOS";
         BuildPipeline.BuildAssetBundles(prefix, BuildAssetBundleOptions.ForceRebuildAssetBundle, BuildTarget.iOS);
-        Move(prefix);
+        Move(prefix, BuildTarget.iOS);
     }
 
     [MenuItem("DashGame/Bundle/PackWindows")]
@@ -161,10 +161,10 @@ public class EditorBundle : Editor
 
         string prefix = Application.streamingAssetsPath + "/Bundle/Windows";
         BuildPipeline.BuildAssetBundles(prefix, BuildAssetBundleOptions.ForceRebuildAssetBundle, BuildTarget.StandaloneWindows64);
-        Move(prefix);
+        Move(prefix, BuildTarget.StandaloneWindows64);
     }
 
-    private static void Move(string prefix)
+    private static void Move(string prefix, BuildTarget buildTarget)
     {
         List<string> names = new List<string>
         {
@@ -181,10 +181,35 @@ public class EditorBundle : Editor
             File.Delete($"{prefix}/HotUpdate/{name}.meta");
             File.Delete($"{prefix}/HotUpdate/{name}.manifest");
             File.Delete($"{prefix}/HotUpdate/{name}.manifest.meta");
+
             File.Move($"{prefix}/{name}", $"{prefix}/HotUpdate/{name}");
             File.Move($"{prefix}/{name}.manifest", $"{prefix}/HotUpdate/{name}.manifest");
-            File.Move($"{prefix}/{name}.meta", $"{prefix}/HotUpdate/{name}.meta");
-            File.Move($"{prefix}/{name}.manifest.meta", $"{prefix}/HotUpdate/{name}.manifest.meta");
+
+            if (File.Exists($"{prefix}/{name}.meta"))
+            {
+                File.Move($"{prefix}/{name}.meta", $"{prefix}/HotUpdate/{name}.meta");
+            }
+            if (File.Exists($"{prefix}/{name}.manifest.meta"))
+            {
+                File.Move($"{prefix}/{name}.manifest.meta", $"{prefix}/HotUpdate/{name}.manifest.meta");
+            }
+        }
+        string hotUpdateFolder = null;
+        if (buildTarget == BuildTarget.Android)
+        {
+            hotUpdateFolder = Application.dataPath + "/HotUpdate/Android";
+        }
+        else if (buildTarget == BuildTarget.iOS)
+        {
+            hotUpdateFolder = Application.dataPath + "/HotUpdate/Windows";
+        }
+        if (!string.IsNullOrEmpty(hotUpdateFolder))
+        {
+            foreach (var name in names)
+            {
+                byte[] bytes = File.ReadAllBytes($"{prefix}/HotUpdate/{name}");
+                File.WriteAllBytes(hotUpdateFolder + "/" + name, bytes);
+            }
         }
         AssetDatabase.Refresh();
     }

+ 3 - 1
Assets/Script/Manage/GardenManager.cs

@@ -567,7 +567,9 @@ public class GardenManager : Regist
                         {
                             flowerInfo.Add();
                             UpdatePlantCardStatus(flowerInfo);
-                            //HttpManager.UploadConfig();
+
+                            ConfigManager.SaveConfigDocument();
+                            ConfigManager.SaveConfigDocumentToDisk();
 
                             PlayFlowerCardMaterialTween();
 

+ 47 - 1
Assets/Script/Manage/HttpManager.cs

@@ -976,6 +976,7 @@ public class HttpManager : Regist
     private static void onConnect()
     {
         WifiButton.image.sprite = Lib.WifiOn;
+        GetCompensateOfflineIncome();
     }
 
     private static void onConnectionLost()
@@ -999,7 +1000,6 @@ public class HttpManager : Regist
         urlData.Add("v", ReplayVersion);
 
         ConfigManager.SaveConfigDocument();
-        ConfigManager.SaveConfigDocumentToDisk();
 
         urlData.Add("l", ConfigManager.ConfigDocument.OuterXml);
         
@@ -1731,4 +1731,50 @@ public class HttpManager : Regist
             return content;
         }
     }
+
+
+    public static void GetCompensateOfflineIncome()
+    {
+        if (!Manager.Inited)
+        {
+            return;
+        }
+        if (Manager.AlreadyGetOfflineIncome)
+        {
+            return;
+        }
+        float person = 0;
+        float coinPerson = 0;
+        foreach (var skill in Manager.SkillList)
+        {
+            if (skill.SkillType == SkillType.Ability)
+            {
+                Ability ability = skill as Ability;
+                if (ability.Level == 0)
+                {
+                    continue;
+                }
+                person += ability.NewPerson;
+                coinPerson += ability.NewCoinPerson;
+            }
+        }
+        float offlineTime = (float) CurrentDateTime.Subtract(Manager.LastQuitTime).TotalSeconds;
+        offlineTime -= Time.time - Manager.GameBeginTime;
+        double offlineIncom = offlineTime*person*coinPerson;
+        if (offlineIncom > 0)
+        {
+            offlineIncom = (long) Manager.AdjustOfflineIncome(offlineIncom);
+
+            Manager.AddCoin(offlineIncom, StaticsManager.ItemID.获得金币, StaticsManager.ConsumeModule.Income);
+
+            ResourceManager.SetText(CanvasLabel.Ba_IconLab, Auxiliary.ShrinkBigNumberStr(offlineIncom));
+
+            Manager.OfflineFlag = true;
+
+            SignManager.ShowPanels();
+        }
+        Manager.AlreadyGetOfflineIncome = true;
+        ConfigManager.SaveConfigDocument();
+        ConfigManager.SaveConfigDocumentToDisk();
+    }
 }

+ 25 - 5
Assets/Script/Manage/Initializer.cs

@@ -119,11 +119,12 @@ public class Initializer : MonoBehaviour
         InitScriptProgress = index++.ToString();
         if (DebugMode)
         {
-            Instantiate(DebugModeGo, transform);
+            Bundle bundle = Instantiate(DebugModeGo, transform).GetComponent<Bundle>();
+            bundle.Begin();
         }
         else
         {
-            gameObject.AddComponent<Bundle>();
+            gameObject.AddComponent<Bundle>().Begin();
         }
 
         InitScriptProgress = index++.ToString();
@@ -229,6 +230,7 @@ public class Initializer : MonoBehaviour
         gameObject.AddScript<FashionShowHomePage>();
 
         InitScriptProgress = index++.ToString();
+
         StartCoroutine(WaitToInit());
     }
 
@@ -284,10 +286,10 @@ public class Initializer : MonoBehaviour
 
         TutorialManager.FindSoloMinigameTutorialIndex = ConfigManager.GetIntFormConfig(PlayerConfigLabel.FindSoloMinigameTutorialIndex);
         DebugText.text = "Error code : 1-10";
-        
+
         TutorialManager.FindMissingMinigameTutorialIndex = ConfigManager.GetIntFormConfig(PlayerConfigLabel.FindMissingMinigameTutorialIndex);
         DebugText.text = "Error code : 1-10-0";
-        
+
         TutorialManager.PlazaRoomTutorialIndex = ConfigManager.GetIntFormConfig(PlayerConfigLabel.TutorialIndexPlazaRoom);
         DebugText.text = "Error code : 1-10-1";
 
@@ -402,16 +404,34 @@ public class Initializer : MonoBehaviour
             yield return null;
         }
 
+        //EnableDebugLab();
         DebugText = GameObject.Find(CanvasLabel.U_DebugLab).GetComponent<Text>();
-        Bundle.UpdateAssetBundle();
+        DebugText.text = "W3";
+
+        Bundle.CopyAssetBundles();
+        while (!Bundle.CopyComplete)
+        {
+            yield return null;
+        }
+
+        bool haveError = Bundle.UpdateAssetBundles();
+
+        while (haveError)
+        {
+            yield return null;
+        }
 
+        DebugText.text = "W4";
         while (!Bundle.UpdateComplete)
         {
+            DebugText.text = "W5";
             yield return null;
         }
 
+        DebugText.text = "W6";
         while (ConfigManager.PlayerDocumentDamageFlag)
         {
+            DebugText.text = "W7";
             yield return null;
         }
 

+ 36 - 14
Assets/Script/Manage/Manager.cs

@@ -636,7 +636,6 @@ public class Manager : Regist
     public static bool MinigameFlag;
     public static bool UploadConfigFlag;
     public static bool LoginFlag;
-    public static bool OfflineFlag;
     public static bool ReactiveFlag;
     public static bool DownloadConfigFlag;
     public static bool SceneSwitchFlag;
@@ -656,11 +655,14 @@ public class Manager : Regist
         }
     }
 
+    public static float GameBeginTime;
+    public static bool AlreadyGetOfflineIncome;
+    public static bool OfflineFlag;
     public static float OfflineTime;
     public static string OfflineIncomeFml;
     public static double OfflineMaxCoin;
     public static double OfflineMaxTime;
-    public static double OfflineMinTime = 120f;
+    public static double OfflineMinTime = 120;
 
     public static float InputDetectTime = 60f;
     public static float InputDetectTimer;
@@ -689,7 +691,7 @@ public class Manager : Regist
     private void Update()
     {
         LoginThread();
-
+        
         if (TutorialManager.NewplayerTutorial)
         {
             return;
@@ -708,10 +710,10 @@ public class Manager : Regist
 
     private void InputDetectThread()
     {
-        if (VisitManager.InVisit)
-        {
-            return;
-        }
+        //if (VisitManager.InVisit)
+        //{
+        //    return;
+        //}
 
         if (Auxiliary.AnyKeyUp)
         {
@@ -1014,6 +1016,7 @@ public class Manager : Regist
 
         if (HttpManager.IsConnect && ConfigManager.GetBoolFormConfig(PlayerConfigLabel.QuitFlag))
         {
+            AlreadyGetOfflineIncome = true;
             LastQuitTime = DateTime.Parse(ConfigManager.GetStringFormConfig(PlayerConfigLabel.QuitTime));
 
             OfflineTime = (float)HttpManager.CurrentDateTime.Subtract(LastQuitTime).TotalSeconds;
@@ -1038,6 +1041,15 @@ public class Manager : Regist
                 ResourceManager.SetActive(CanvasLabel.Ba_Lab2, true);
             }
         }
+        else
+        {
+            if (ConfigManager.GetBoolFormConfig(PlayerConfigLabel.QuitFlag))
+            {
+                AlreadyGetOfflineIncome = false;
+                LastQuitTime = DateTime.Parse(ConfigManager.GetStringFormConfig(PlayerConfigLabel.QuitTime));
+                GameBeginTime = Time.time;
+            }
+        }
 
 
         OfflineUsingSkillList = new List<List<Skill>>();
@@ -1076,7 +1088,7 @@ public class Manager : Regist
             }
         }
     }
-
+    
     public static void GetOfflineIncome()
     {
         double coin = 0;
@@ -1108,19 +1120,26 @@ public class Manager : Regist
         }
 
 
-        coin = (long) Auxiliary.FmlParse(OfflineIncomeFml, "c", coin.ToString());
+        coin = (long) AdjustOfflineIncome(coin);
+
+        AddCoin(coin, StaticsManager.ItemID.获得金币, StaticsManager.ConsumeModule.Income);
+
+        ResourceManager.SetText(CanvasLabel.Ba_IconLab, Auxiliary.ShrinkBigNumberStr(coin));
+    }
+
+    public static double AdjustOfflineIncome(double offlineIncome)
+    {
+        offlineIncome = (long)Auxiliary.FmlParse(OfflineIncomeFml, "c", offlineIncome.ToString());
 
-        if (coin > OfflineMaxCoin)
+        if (offlineIncome > OfflineMaxCoin)
         {
-            coin = OfflineMaxCoin;
+            offlineIncome = OfflineMaxCoin;
 
             ResourceManager.SetText(CanvasLabel.Ba_Lab2, Language.GetStr(LanguageLabel.UI__Ba_Lab2));
             ResourceManager.SetActive(CanvasLabel.Ba_Lab2, true);
         }
 
-        AddCoin(coin, StaticsManager.ItemID.获得金币, StaticsManager.ConsumeModule.Income);
-
-        ResourceManager.SetText(CanvasLabel.Ba_IconLab, Auxiliary.ShrinkBigNumberStr(coin));
+        return offlineIncome;
     }
 
     public new static void SwitchLanguage()
@@ -1346,6 +1365,9 @@ public class Manager : Regist
         {
             HttpManager.UploadConfig();
         }
+
+        ConfigManager.SaveConfigDocument();
+        ConfigManager.SaveConfigDocumentToDisk();
     }
 
     public static void ReactiveLoginCallback(JsonData jsonData)

+ 7 - 1
Assets/Script/Manage/MiniGameManager.cs

@@ -174,7 +174,13 @@ public class MinigameAward
             {
                 UnlockFlowerFlag = true;
 
-                if (Random.Range(0, 1f) <= UnlockFlowerRate[Rate])
+                float unlockFlowerRate = UnlockFlowerRate[Rate];
+                float extraRate = (score - RateStandard[Rate])/10*0.01f;
+
+                unlockFlowerRate += extraRate;
+                unlockFlowerRate = Mathf.Min(1, unlockFlowerRate);
+
+                if (Random.Range(0f, 1f) <= unlockFlowerRate)
                 {
                     FlowerInfo flowerInfo = GardenManager.FlowerInfoDictionary[UnlockFlowerID];
 

+ 2 - 1
Assets/Script/Object/Player.cs

@@ -534,7 +534,8 @@ public class CloseItem
         Unlock();
         AudioManager.PlayClip(AudioLabel.GetCurrent);
         PlayerManager.BoughtCloseIDs.UniqueAdd(ID);
-        //HttpManager.UploadConfig();
+        ConfigManager.SaveConfigDocument();
+        ConfigManager.SaveConfigDocumentToDisk();
     }
 
     public void NavigateToChargeFromDressroom()

+ 6 - 0
Assets/Script/Object/Skill/Ability.cs

@@ -433,6 +433,8 @@ public class Ability : SkillRoot
 
                     UnlockTab();
                 }
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.解锁技能, 
             StaticsManager.ConsumeModule.Shop
@@ -543,6 +545,8 @@ public class Ability : SkillRoot
             () =>
             {
                UpgradeSucceed();
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.升级技能,
             StaticsManager.ConsumeModule.Shop
@@ -586,6 +590,8 @@ public class Ability : SkillRoot
             () =>
             {
                 UnlockAheadSucceed();
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.提前解锁技能,
             StaticsManager.ConsumeModule.Shop

+ 8 - 0
Assets/Script/Object/Skill/BigSkill.cs

@@ -421,6 +421,8 @@ public class BigSkill : Skill
                 Level = 1;
 
                 Bk1.material = null;
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.解锁技能,
             StaticsManager.ConsumeModule.Shop
@@ -463,6 +465,8 @@ public class BigSkill : Skill
                 {
                     GetBuff();
                 }
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.升级技能,
             StaticsManager.ConsumeModule.Shop
@@ -503,6 +507,8 @@ public class BigSkill : Skill
                 GetAward();
 
                 InfoBoxManager.GardenInfoBox.Display(string.Format("{0}{1}", Language.GetStr(LanguageLabel.UI__J_Info1), Language.GetStr(LanguageLabel.CombineLanguageLabel(LanguageLabel.SkillName, FullID))), 10f, Color.white, ResourceManager.LoadSprite(ResourceLabel.Atlas, Folder.Atlas));
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.使用技能,
             StaticsManager.ConsumeModule.Shop
@@ -647,6 +653,8 @@ public class BigSkill : Skill
 
                     ItemStatus = SkillStatus.UnLock;
                 }
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.提前解锁技能,
             StaticsManager.ConsumeModule.Shop

+ 14 - 6
Assets/Script/Object/Skill/Pack.cs

@@ -321,7 +321,20 @@ public class Pack : SkillRoot
     {
         AudioManager.PlayClip(AudioLabel.ClickButton);
 
-        Manager.Pay(FullID, UseAmt, BuyCur, ()=> OnBuySucceed(), StaticsManager.ItemID.购买礼包,  StaticsManager.ConsumeModule.Charge);
+        Manager.Pay
+        (
+            FullID,
+            UseAmt,
+            BuyCur,
+            () =>
+            {
+                OnBuySucceed();
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
+            },
+            StaticsManager.ItemID.购买礼包,
+            StaticsManager.ConsumeModule.Charge
+        );
     }
 
     public void OnBuySucceed(bool getGift = true)
@@ -383,11 +396,6 @@ public class Pack : SkillRoot
 
         AudioManager.PlayClip(AudioLabel.UseSkill);
 
-        //if (BuyCur == Current.Cash)
-        //{
-        //    HttpManager.UploadConfig();
-        //}
-
         GetBuff();
 
         SetActive();

+ 6 - 0
Assets/Script/Object/Skill/Skill.cs

@@ -380,6 +380,9 @@ public class Skill : SkillRoot
                 GetAward();
 
                 InfoBoxManager.GardenInfoBox.Display(string.Format("{0}{1}", Language.GetStr(LanguageLabel.UI__J_Info1), Language.GetStr(LanguageLabel.CombineLanguageLabel(LanguageLabel.SkillName, FullID))), 10f, Color.white, ResourceManager.LoadSprite(ResourceLabel.Atlas, Folder.Atlas));
+
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.使用技能, 
             StaticsManager.ConsumeModule.Shop
@@ -462,6 +465,9 @@ public class Skill : SkillRoot
                 SkillIcon.material = null;
 
                 ItemStatus = SkillStatus.Buy;
+
+                ConfigManager.SaveConfigDocument();
+                ConfigManager.SaveConfigDocumentToDisk();
             },
             StaticsManager.ItemID.提前解锁技能, 
             StaticsManager.ConsumeModule.Shop

+ 277 - 79
Assets/Script/Tool/Bundle.cs

@@ -20,6 +20,10 @@ public class Bundle : MonoBehaviour
 {
     #region
 
+    public static bool CopyComplete
+    {
+        get { return CopyCount == 0; }
+    }
     public static bool UpdateComplete;
     public static AssetBundle NewDressConfig;
     public static AssetBundle NewDressSke;
@@ -30,6 +34,24 @@ public class Bundle : MonoBehaviour
     public static List<XmlAttributeCollection> NewDressroomConfigs = new List<XmlAttributeCollection>();
     public static List<XmlAttributeCollection> NewFlowerConfigs = new List<XmlAttributeCollection>();
 
+    public static List<string> HotUpdateAssetBundleNames=new List<string>
+    {
+        ResourceLabel.NewDressConfig,
+        ResourceLabel.NewDressSke,
+        ResourceLabel.NewDressTex,
+        ResourceLabel.NewLanguage,
+        ResourceLabel.NewFlowerConfig,
+        ResourceLabel.NewFlowerTex,
+    };
+
+    public List<Object> NewDressConfigList;
+    public List<Object> NewDressSkeList;
+    public List<Object> NewDressTexList;
+    public List<Object> NewDressTexConfigList;
+    public List<Object> NewDressSpriteList;
+    public List<Object> NewLanguageList;
+    public List<Object> NewFlowerConfigList;
+    public List<Object> NewFlowerSpriteList;
 
     public static Bundle Instance;
 
@@ -57,14 +79,12 @@ public class Bundle : MonoBehaviour
     public List<Object> ConfigList;
     public List<Object> DiscardList;
     public List<Object> PlazaRoomList;
-    public List<Object> DressList;
 
     #endregion
 
-    public void Awake()
+    public void Begin()
     {
         Instance = this;
-
         LoadAll
         (
             () => Complete = true
@@ -76,7 +96,7 @@ public class Bundle : MonoBehaviour
         if (Initializer.Instance.DebugMode)
         {
             #region MyRegion
-            
+
             if (folder == Folder.UI)
             {
                 for (int i = 0; i < Instance.UiList.Count; i++)
@@ -121,7 +141,7 @@ public class Bundle : MonoBehaviour
             {
                 if (goName == "Expression")
                 {
-                    return (T)(Object)Sprite.Create(Instance.ExpressionTexture, new Rect(0, 0, Instance.AtlasTexture.width, Instance.AtlasTexture.height), new Vector2(0.5f, 0.5f));
+                    return (T) (Object) Sprite.Create(Instance.ExpressionTexture, new Rect(0, 0, Instance.AtlasTexture.width, Instance.AtlasTexture.height), new Vector2(0.5f, 0.5f));
                 }
 
                 for (int i = 0; i < Instance.SceneList.Count; i++)
@@ -138,7 +158,7 @@ public class Bundle : MonoBehaviour
                 {
                     if (Instance.DiscardList[i].name == goName)
                     {
-                        return (T)Instance.DiscardList[i];
+                        return (T) Instance.DiscardList[i];
                     }
                 }
             }
@@ -153,7 +173,7 @@ public class Bundle : MonoBehaviour
                 {
                     if (Instance.AtlasList[i].name == goName)
                     {
-                        return (T)Instance.AtlasList[i];
+                        return (T) Instance.AtlasList[i];
                     }
                 }
             }
@@ -163,7 +183,7 @@ public class Bundle : MonoBehaviour
                 {
                     if (Instance.PlazaRoomList[i].name == goName)
                     {
-                        return (T)Instance.PlazaRoomList[i];
+                        return (T) Instance.PlazaRoomList[i];
                     }
                 }
             }
@@ -284,7 +304,7 @@ public class Bundle : MonoBehaviour
 
             for (int i = 0; i < objects.Length; i++)
             {
-                Sprite sprite = (Sprite)objects[i];
+                Sprite sprite = (Sprite) objects[i];
 
                 PlayerManager.CloseSpriteDictionary.Add(sprite.name, sprite);
                 ResourceManager.SpriteDictionary.UniqueAdd(sprite.name, sprite);
@@ -382,7 +402,7 @@ public class Bundle : MonoBehaviour
     {
         if (Application.isEditor)
             //			return "file://" +  System.Environment.CurrentDirectory.Replace("\\", "/"); // Use the build output folder directly.
-            return "file://" + Application.streamingAssetsPath + "/Bundle/Windows/";//user local stream
+            return "file://" + Application.streamingAssetsPath + "/Bundle/Windows/"; //user local stream
 
         else if (Application.isWebPlayer)
             return System.IO.Path.GetDirectoryName(Application.absoluteURL).Replace("\\", "/") + "/StreamingAssets";
@@ -399,10 +419,20 @@ public class Bundle : MonoBehaviour
         //return "file://" + Application.streamingAssetsPath + "/Bundle/Windows/";
     }
 
+    public static string GetStreamingUrlPath()
+    {
+        if (Application.platform == RuntimePlatform.IPhonePlayer)
+            return "file://" + Application.streamingAssetsPath;
+        else if (Application.isMobilePlatform)
+            return Application.streamingAssetsPath;
+        else
+            return "file://" + Application.streamingAssetsPath;
+    }
+
 
     public void LoadAll(UnityAction callback)
     {
-        StartCoroutine(ILoadAll(callback));
+        Initializer.Instance.StartCoroutine(ILoadAll(callback));
     }
 
     public static IEnumerator ILoadAll(UnityAction callback)
@@ -411,7 +441,11 @@ public class Bundle : MonoBehaviour
 
         if (!Logo.Complete && !Initializer.Instance.DebugMode)
         {
-            ResourceManager.AddAsyncLoad<TextAsset>(ResourceLabel.PlayerConfig, Folder.Config, () => { ConfigManager.ConfigDocument = ConfigManager.ConfigDocument; HttpManager.GetBuyPackLimitFlag(); });
+            ResourceManager.AddAsyncLoad<TextAsset>(ResourceLabel.PlayerConfig, Folder.Config, () =>
+            {
+                ConfigManager.ConfigDocument = ConfigManager.ConfigDocument;
+                HttpManager.GetBuyPackLimitFlag();
+            });
         }
         else
         {
@@ -652,95 +686,199 @@ public class Bundle : MonoBehaviour
     }
 
 
-    public static void UpdateAssetBundle()
+    private static int CopyCount = 0;
+    public static void CopyAssetBundles()
     {
-        string persistentFolder = $"{Application.persistentDataPath}{Path.DirectorySeparatorChar}HotUpdate";
-        string streamingFolder = $"{Application.streamingAssetsPath}{Path.DirectorySeparatorChar}Bundle{Path.DirectorySeparatorChar}Windows{Path.DirectorySeparatorChar}HotUpdate";
-        List<AssetBundleSet> assetBundleSets = AssetBundleUtility.GetAssetBundleSetsFromFolders
-        (
-            persistentFolder,
-            streamingFolder
-        );
-        string localMD5 = AssetBundleUtility.GetMD5OfAssetBundleSets(assetBundleSets);
-        string serverMD5 = "AE29F7EE00843A792D96CA02D6907FAA";
-        //bool needUpdate = localMD5 != serverMD5;
-        bool needUpdate = false;
-        Debug.LogWarning($"NeedUpdate : {needUpdate}");
-        if (needUpdate)
-        {
-            AssetBundleUtility.UpdateAllAssetBundle
-            (
-                "new_dress_config|F1F0FA4EB0C70A658BB03E935738C422|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_dress_config\r\nnew_dress_ske|531AE05FA301BBAD7B58B532BCD04CFD|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_dress_ske\r\nnew_dress_tex|3060DC78E5C9A8D58CF440C6C66035C4|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_dress_tex\r\nnew_flower_config|0CD417F29E1C7580A742BFC33DAE7DF5|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_flower_config\r\nnew_flower_tex|8640D886CB7D71B5D5EBA8D0FF037573|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_flower_tex\r\nnew_language_config|D7683A0A8867FBC6D32CFF5C9F41BAC4|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_language_config",
-                persistentFolder,
-                assetBundleSets,
-                DownloadAllAssetBundleSucceed,
-                DownloadAllAssetBundleFailed,
-                DownloadAssetBundleSucceed,
-                DownloadAssetBundleFailed
-            );
+        string persistentFolderPath = $"{Application.persistentDataPath}{Path.DirectorySeparatorChar}HotUpdate";
+        if (!Directory.Exists(persistentFolderPath))
+        {
+            Directory.CreateDirectory(persistentFolderPath);
+        }
+        string streamingFolder;
+        if (Application.platform == RuntimePlatform.IPhonePlayer)
+        {
+            streamingFolder = "IOS";
+        }
+        else if (Application.platform == RuntimePlatform.Android)
+        {
+            streamingFolder = "Android";
         }
         else
         {
-            AssetBundleUtility.LoadAllAssetBundle
-            (
-                assetBundleSets,
-                DownloadAllAssetBundleSucceed,
-                DownloadAllAssetBundleFailed,
-                DownloadAssetBundleSucceed,
-                DownloadAssetBundleFailed
-            );
+            streamingFolder = "Windows";
+        }
+        foreach (var assetBundleName in HotUpdateAssetBundleNames)
+        {
+            if (!File.Exists(persistentFolderPath + Path.DirectorySeparatorChar + assetBundleName))
+            {
+                CopyCount++;
+                Initializer.Instance.StartCoroutine
+                (
+                    LoadAssetBundle
+                    (
+                        streamingFolder,
+                        assetBundleName,
+                        www =>
+                        {
+                            File.WriteAllBytes(persistentFolderPath + Path.DirectorySeparatorChar + assetBundleName, www.bytes);
+                            CopyOneAssetBundleFinish();
+                        }
+                    )
+                );
+            }
         }
     }
 
-    public static void DownloadAllAssetBundleSucceed()
+    private static void CopyOneAssetBundleFinish()
     {
-        NewDressroomConfigs = ConfigManager.GetDressRoomConfig(NewDressConfig.LoadAsset<TextAsset>(ResourceLabel.NewDressroomConfig));
+        CopyCount--;
+    }
 
-        TextAsset[] textAssets = NewDressSke.LoadAllAssets<TextAsset>();
-        foreach (var textAsset in textAssets)
+    public static IEnumerator LoadAssetBundle(string folder, string name, Action<WWW> callback)
+    {
+        WWW www = new WWW(GetStreamingUrlPath() + Path.DirectorySeparatorChar + "Bundle" + Path.DirectorySeparatorChar + folder + Path.DirectorySeparatorChar + "HotUpdate" + Path.DirectorySeparatorChar + name);
+        yield return www;
+        if (string.IsNullOrEmpty(www.error))
         {
-            UnityFactory.factory.LoadDragonBonesData(textAsset);
+            callback.Invoke(www);
         }
-
-        textAssets = NewDressTex.LoadAllAssets<TextAsset>();
-        Texture2D[] textures = NewDressTex.LoadAllAssets<Texture2D>();
-        for (int i = 0; i < textAssets.Length; i++)
+        else
         {
-            ResourceManager.ObjectDictionary.Add(textures[i].name, textures[i]);
-            UnityFactory.factory.LoadTextureAtlasData(textAssets[i], textures[i].name);
+            Debug.Log(www.error);
         }
+    }
 
-        Sprite[] sprites = NewDressTex.LoadAllAssets<Sprite>();
-        for (int i = 0; i < sprites.Length; i++)
+    public static bool UpdateAssetBundles()
+    {
+        try
         {
-            PlayerManager.CloseSpriteDictionary.Add(sprites[i].name, sprites[i]);
-            ResourceManager.ObjectDictionary.UniqueAdd(sprites[i].name, sprites[i]);
+            Initializer.DebugText.text = "U0";
+            if (Initializer.Instance.DebugMode)
+            {
+                SkipUpdateForDebugMode();
+                return false;
+            }
+
+            Initializer.DebugText.text = "U1";
+            string persistentFolderPath = $"{Application.persistentDataPath}{Path.DirectorySeparatorChar}HotUpdate";
+
+            Initializer.DebugText.text = "U2";
+            List<AssetBundleSet> assetBundleSets = AssetBundleUtility.GetAssetBundleSetsFromFolders
+            (
+                persistentFolderPath
+            );
+            Initializer.DebugText.text = "U3";
+            string localMD5 = AssetBundleUtility.GetMD5OfAssetBundleSets(assetBundleSets);
+            string serverMD5 = "AE29F7EE00843A792D96CA02D6907FAA";
+            bool needUpdate = localMD5 != serverMD5;
+            if (Application.isEditor)
+            {
+                needUpdate = false;
+            }
+            needUpdate = false;
+            //Debug.LogWarning($"NeedUpdate : {needUpdate}");
+
+            if (needUpdate)
+            {
+                Initializer.DebugText.text = "U4";
+                AssetBundleUtility.UpdateAllAssetBundle
+                (
+                    "new_dress_config|F1F0FA4EB0C70A658BB03E935738C422|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_dress_config\r\nnew_dress_ske|531AE05FA301BBAD7B58B532BCD04CFD|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_dress_ske\r\nnew_dress_tex|3060DC78E5C9A8D58CF440C6C66035C4|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_dress_tex\r\nnew_flower_config|0CD417F29E1C7580A742BFC33DAE7DF5|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_flower_config\r\nnew_flower_tex|8640D886CB7D71B5D5EBA8D0FF037573|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_flower_tex\r\nnew_language_config|D7683A0A8867FBC6D32CFF5C9F41BAC4|file://E:\\UnityProject\\Garden5\\Assets\\HotUpdateTest\\new_language_config",
+                    persistentFolderPath,
+                    assetBundleSets,
+                    DownloadAllAssetBundleSucceed,
+                    DownloadAllAssetBundleFailed,
+                    DownloadAssetBundleSucceed,
+                    DownloadAssetBundleFailed
+                );
+            }
+            else
+            {
+                Initializer.DebugText.text = "U5";
+                AssetBundleUtility.LoadAllAssetBundle
+                (
+                    assetBundleSets,
+                    DownloadAllAssetBundleSucceed,
+                    DownloadAllAssetBundleFailed,
+                    DownloadAssetBundleSucceed,
+                    DownloadAssetBundleFailed
+                );
+            }
+            return false;
         }
+        catch (Exception)
+        {
+            Initializer.EnableDebugLab();
+            return true;
+        }
+    }
 
-        TextAsset language = NewLanguage.LoadAsset<TextAsset>(ResourceLabel.NewEnglish);
-        XmlDocument document = new XmlDocument();
-        document.LoadXml(language.text);
-        Language.AddLanguageDocument(CurrentLanguage.English, document);
+    public static void DownloadAllAssetBundleSucceed()
+    {
+        try
+        {
+            Initializer.DebugText.text = "01";
+            NewDressroomConfigs = ConfigManager.GetDressRoomConfig(NewDressConfig.LoadAsset<TextAsset>(ResourceLabel.NewDressroomConfig));
 
-        language = NewLanguage.LoadAsset<TextAsset>(ResourceLabel.NewChineseSimplified);
-        document = new XmlDocument();
-        document.LoadXml(language.text);
-        Language.AddLanguageDocument(CurrentLanguage.ChineseSimplified, document);
+            Initializer.DebugText.text = "02";
+            TextAsset[] textAssets = NewDressSke.LoadAllAssets<TextAsset>();
+            foreach (var textAsset in textAssets)
+            {
+                UnityFactory.factory.LoadDragonBonesData(textAsset);
+            }
 
-        language = NewLanguage.LoadAsset<TextAsset>(ResourceLabel.NewChineseTraditional);
-        document = new XmlDocument();
-        document.LoadXml(language.text);
-        Language.AddLanguageDocument(CurrentLanguage.ChineseTraditional, document);
+            Initializer.DebugText.text = "03";
+            textAssets = NewDressTex.LoadAllAssets<TextAsset>();
+            Texture2D[] textures = NewDressTex.LoadAllAssets<Texture2D>();
+            for (int i = 0; i < textAssets.Length; i++)
+            {
+                ResourceManager.ObjectDictionary.Add(textures[i].name, textures[i]);
+                UnityFactory.factory.LoadTextureAtlasData(textAssets[i], textures[i].name);
+            }
 
-        NewFlowerConfigs = ConfigManager.GetFlowerConfig(NewFlowerConfig.LoadAsset<TextAsset>(ResourceLabel.NewFlowerConfig));
+            Initializer.DebugText.text = "04";
+            Sprite[] sprites = NewDressTex.LoadAllAssets<Sprite>();
+            for (int i = 0; i < sprites.Length; i++)
+            {
+                PlayerManager.CloseSpriteDictionary.Add(sprites[i].name, sprites[i]);
+                ResourceManager.ObjectDictionary.UniqueAdd(sprites[i].name, sprites[i]);
+            }
+
+            Initializer.DebugText.text = "05";
+            TextAsset language = NewLanguage.LoadAsset<TextAsset>(ResourceLabel.NewEnglish);
+            XmlDocument document = new XmlDocument();
+            document.LoadXml(language.text);
+            Language.AddLanguageDocument(CurrentLanguage.English, document);
+
+            Initializer.DebugText.text = "06";
+            language = NewLanguage.LoadAsset<TextAsset>(ResourceLabel.NewChineseSimplified);
+            document = new XmlDocument();
+            document.LoadXml(language.text);
+            Language.AddLanguageDocument(CurrentLanguage.ChineseSimplified, document);
+
+            Initializer.DebugText.text = "07";
+            language = NewLanguage.LoadAsset<TextAsset>(ResourceLabel.NewChineseTraditional);
+            document = new XmlDocument();
+            document.LoadXml(language.text);
+            Language.AddLanguageDocument(CurrentLanguage.ChineseTraditional, document);
+
+            Initializer.DebugText.text = "08";
+            NewFlowerConfigs = ConfigManager.GetFlowerConfig(NewFlowerConfig.LoadAsset<TextAsset>(ResourceLabel.NewFlowerConfig));
+
+            Initializer.DebugText.text = "09";
+            sprites = NewFlowerTex.LoadAllAssets<Sprite>();
+            for (int i = 0; i < sprites.Length; i++)
+            {
+                ResourceManager.ObjectDictionary.UniqueAdd(sprites[i].name, sprites[i]);
+            }
 
-        sprites = NewFlowerTex.LoadAllAssets<Sprite>();
-        for (int i = 0; i < sprites.Length; i++)
+            UpdateComplete = true;
+        }
+        catch (Exception e)
         {
-            ResourceManager.ObjectDictionary.UniqueAdd(sprites[i].name, sprites[i]);
+            Initializer.DebugText.text += e.ToString();
+            Initializer.EnableDebugLab();
         }
-
-        UpdateComplete = true;
     }
 
     public static void DownloadAllAssetBundleFailed()
@@ -778,6 +916,66 @@ public class Bundle : MonoBehaviour
 
     public static void DownloadAssetBundleFailed(AssetBundleSet assetBundleSet, string error)
     {
-        Debug.Log(error);
+        Initializer.DebugText.text = assetBundleSet.Name;
+        Initializer.DebugText.text += error;
+        Initializer.EnableDebugLab();
+    }
+
+    public static void SkipUpdateForDebugMode()
+    {
+        NewDressroomConfigs = ConfigManager.GetDressRoomConfig(Instance.NewDressConfigList[0] as TextAsset);
+
+        foreach (var textAsset in Instance.NewDressSkeList)
+        {
+            UnityFactory.factory.LoadDragonBonesData(textAsset as TextAsset);
+        }
+
+        for (int i = 0; i < Instance.NewDressTexList.Count; i++)
+        {
+            TextAsset textAsset = Instance.NewDressTexConfigList[i] as TextAsset;
+            Texture2D texture = Instance.NewDressTexList[i] as Texture2D;
+            ResourceManager.ObjectDictionary.Add(texture.name, texture);
+            UnityFactory.factory.LoadTextureAtlasData(textAsset, texture.name);
+        }
+
+        for (int i = 0; i < Instance.NewDressSpriteList.Count; i++)
+        {
+            Sprite sprite = Instance.NewDressSpriteList[i] as  Sprite;
+            PlayerManager.CloseSpriteDictionary.Add(sprite.name, sprite);
+            ResourceManager.ObjectDictionary.UniqueAdd(sprite.name, sprite);
+        }
+
+        for (int i = 0; i < Instance.NewLanguageList.Count; i++)
+        {
+            TextAsset textAsset = Instance.NewLanguageList[i] as TextAsset;
+            if (textAsset.name == ResourceLabel.NewEnglish)
+            {
+                XmlDocument document = new XmlDocument();
+                document.LoadXml(textAsset.text);
+                Language.AddLanguageDocument(CurrentLanguage.English, document);
+            }
+            else if (textAsset.name == ResourceLabel.NewChineseSimplified)
+            {
+                XmlDocument document = new XmlDocument();
+                document.LoadXml(textAsset.text);
+                Language.AddLanguageDocument(CurrentLanguage.English, document);
+            }
+            else if (textAsset.name == ResourceLabel.NewChineseTraditional)
+            {
+                XmlDocument document = new XmlDocument();
+                document.LoadXml(textAsset.text);
+                Language.AddLanguageDocument(CurrentLanguage.English, document);
+            }
+        }
+
+        NewDressroomConfigs = ConfigManager.GetDressRoomConfig(Instance.NewFlowerConfigList[0] as TextAsset);
+
+        foreach (var obj in Instance.NewFlowerSpriteList)
+        {
+            Sprite sprite = obj as  Sprite;
+            ResourceManager.ObjectDictionary.UniqueAdd(sprite.name, sprite);
+        }
+
+        UpdateComplete = true;
     }
 }

+ 3 - 3
ProjectSettings/GraphicsSettings.asset

@@ -43,13 +43,13 @@ GraphicsSettings:
     type: 0}
   m_TierSettings_Tier1:
     renderingPath: 1
-    useCascadedShadowMaps: 1
+    useCascadedShadowMaps: 0
   m_TierSettings_Tier2:
     renderingPath: 1
-    useCascadedShadowMaps: 1
+    useCascadedShadowMaps: 0
   m_TierSettings_Tier3:
     renderingPath: 1
-    useCascadedShadowMaps: 1
+    useCascadedShadowMaps: 0
   m_DefaultRenderingPath: 1
   m_DefaultMobileRenderingPath: 1
   m_TierSettings: []

+ 3 - 3
ProjectSettings/ProjectSettings.asset

@@ -122,13 +122,13 @@ PlayerSettings:
     16:9: 1
     Others: 1
   bundleIdentifier: com.dashgame.garden
-  bundleVersion: 1.2.5
+  bundleVersion: 1.2.6
   preloadedAssets: []
   metroInputSource: 0
   m_HolographicPauseOnTrackingLoss: 1
   xboxOneDisableKinectGpuReservation: 0
   protectGraphicsMemory: 0
-  AndroidBundleVersionCode: 17
+  AndroidBundleVersionCode: 18
   AndroidMinSdkVersion: 16
   AndroidPreferredInstallLocation: 1
   aotOptions: 
@@ -136,7 +136,7 @@ PlayerSettings:
   stripEngineCode: 0
   iPhoneStrippingLevel: 0
   iPhoneScriptCallOptimization: 0
-  iPhoneBuildNumber: 11
+  iPhoneBuildNumber: 12
   ForceInternetPermission: 0
   ForceSDCardPermission: 1
   CreateWallpaper: 0

+ 0 - 2
第五期.txt

@@ -1,7 +1,5 @@
 微信支付
 
-广播存档
-
 
 //关闭DebugMode 开启CatchException