Browse Source

添加热更新

“hujiajun” 1 year ago
parent
commit
064ab9b077
100 changed files with 16 additions and 482 deletions
  1. 3 1
      .gitignore
  2. 0 477
      Assets/Editor/Migration/AddVuforiaEnginePackage.cs
  3. BIN
      Assets/Help.pdf
  4. 8 0
      Assets/Help.pdf.meta
  5. 1 1
      Assets/HotUpdate.meta
  6. 0 0
      Assets/HotUpdate/ARBGManager.cs
  7. 0 0
      Assets/HotUpdate/ARBGManager.cs.meta
  8. 0 0
      Assets/HotUpdate/AbortMultipartUploadRequest.cs
  9. 0 0
      Assets/HotUpdate/AbortMultipartUploadRequest.cs.meta
  10. 0 0
      Assets/HotUpdate/AbortMultipartUploadResult.cs
  11. 0 0
      Assets/HotUpdate/AbortMultipartUploadResult.cs.meta
  12. 0 0
      Assets/HotUpdate/AbstractController.cs
  13. 0 0
      Assets/HotUpdate/AbstractController.cs.meta
  14. 0 0
      Assets/HotUpdate/AccessControlPolicy.cs
  15. 0 0
      Assets/HotUpdate/AccessControlPolicy.cs.meta
  16. 0 0
      Assets/HotUpdate/AmbientOcclusionComponent.cs
  17. 0 0
      Assets/HotUpdate/AmbientOcclusionComponent.cs.meta
  18. 0 0
      Assets/HotUpdate/AmbientOcclusionModel.cs
  19. 0 0
      Assets/HotUpdate/AmbientOcclusionModel.cs.meta
  20. 0 0
      Assets/HotUpdate/AnchorBtnItem.cs
  21. 0 0
      Assets/HotUpdate/AnchorBtnItem.cs.meta
  22. 0 0
      Assets/HotUpdate/AnchorEditorPanel.cs
  23. 0 0
      Assets/HotUpdate/AnchorEditorPanel.cs.meta
  24. 0 0
      Assets/HotUpdate/AntialiasingModel.cs
  25. 0 0
      Assets/HotUpdate/AntialiasingModel.cs.meta
  26. 0 0
      Assets/HotUpdate/AppConfigConst.cs
  27. 0 0
      Assets/HotUpdate/AppConfigConst.cs.meta
  28. 0 0
      Assets/HotUpdate/AppendObjectRequest.cs
  29. 0 0
      Assets/HotUpdate/AppendObjectRequest.cs.meta
  30. 0 0
      Assets/HotUpdate/AppendObjectResult.cs
  31. 0 0
      Assets/HotUpdate/AppendObjectResult.cs.meta
  32. 0 0
      Assets/HotUpdate/AquariumManage.cs
  33. 0 0
      Assets/HotUpdate/AquariumManage.cs.meta
  34. 0 0
      Assets/HotUpdate/AssemblyInfo.cs
  35. 0 0
      Assets/HotUpdate/AssemblyInfo.cs.meta
  36. 0 0
      Assets/HotUpdate/AudioCensorJobInfo.cs
  37. 0 0
      Assets/HotUpdate/AudioCensorJobInfo.cs.meta
  38. 0 0
      Assets/HotUpdate/AudioCensorResult.cs
  39. 0 0
      Assets/HotUpdate/AudioCensorResult.cs.meta
  40. 0 0
      Assets/HotUpdate/BaseTemPlate.cs
  41. 0 0
      Assets/HotUpdate/BaseTemPlate.cs.meta
  42. 0 0
      Assets/HotUpdate/BaseUI.cs
  43. 0 0
      Assets/HotUpdate/BaseUI.cs.meta
  44. 0 0
      Assets/HotUpdate/Benchmark01.cs
  45. 0 0
      Assets/HotUpdate/Benchmark01.cs.meta
  46. 0 0
      Assets/HotUpdate/Benchmark01_UGUI.cs
  47. 0 0
      Assets/HotUpdate/Benchmark01_UGUI.cs.meta
  48. 0 0
      Assets/HotUpdate/Benchmark02.cs
  49. 0 0
      Assets/HotUpdate/Benchmark02.cs.meta
  50. 0 0
      Assets/HotUpdate/Benchmark03.cs
  51. 0 0
      Assets/HotUpdate/Benchmark03.cs.meta
  52. 0 0
      Assets/HotUpdate/Benchmark04.cs
  53. 0 0
      Assets/HotUpdate/Benchmark04.cs.meta
  54. 0 0
      Assets/HotUpdate/BloomComponent.cs
  55. 0 0
      Assets/HotUpdate/BloomComponent.cs.meta
  56. 0 0
      Assets/HotUpdate/BloomModel.cs
  57. 0 0
      Assets/HotUpdate/BloomModel.cs.meta
  58. 0 0
      Assets/HotUpdate/BlueMQTT.cs
  59. 0 0
      Assets/HotUpdate/BlueMQTT.cs.meta
  60. 0 0
      Assets/HotUpdate/BlueObject.cs
  61. 0 0
      Assets/HotUpdate/BlueObject.cs.meta
  62. 0 0
      Assets/HotUpdate/BlueSingleton.cs
  63. 0 0
      Assets/HotUpdate/BlueSingleton.cs.meta
  64. 0 0
      Assets/HotUpdate/BlueTest.cs
  65. 0 0
      Assets/HotUpdate/BlueTest.cs.meta
  66. 4 3
      Assets/HotUpdate/BlueVersion3.cs
  67. 0 0
      Assets/HotUpdate/BlueVersion3.cs.meta
  68. 0 0
      Assets/HotUpdate/BucketLoggingStatus.cs
  69. 0 0
      Assets/HotUpdate/BucketLoggingStatus.cs.meta
  70. 0 0
      Assets/HotUpdate/BucketRequest.cs
  71. 0 0
      Assets/HotUpdate/BucketRequest.cs.meta
  72. 0 0
      Assets/HotUpdate/BuiltinDebugViewsComponent.cs
  73. 0 0
      Assets/HotUpdate/BuiltinDebugViewsComponent.cs.meta
  74. 0 0
      Assets/HotUpdate/BuiltinDebugViewsModel.cs
  75. 0 0
      Assets/HotUpdate/BuiltinDebugViewsModel.cs.meta
  76. 0 0
      Assets/HotUpdate/CIRequest.cs
  77. 0 0
      Assets/HotUpdate/CIRequest.cs.meta
  78. 0 0
      Assets/HotUpdate/CORSConfiguration.cs
  79. 0 0
      Assets/HotUpdate/CORSConfiguration.cs.meta
  80. 0 0
      Assets/HotUpdate/COSDownLoad.cs
  81. 0 0
      Assets/HotUpdate/COSDownLoad.cs.meta
  82. 0 0
      Assets/HotUpdate/COSXMLCopyTask.cs
  83. 0 0
      Assets/HotUpdate/COSXMLCopyTask.cs.meta
  84. 0 0
      Assets/HotUpdate/COSXMLDownloadTask.cs
  85. 0 0
      Assets/HotUpdate/COSXMLDownloadTask.cs.meta
  86. 0 0
      Assets/HotUpdate/COSXMLTask.cs
  87. 0 0
      Assets/HotUpdate/COSXMLTask.cs.meta
  88. 0 0
      Assets/HotUpdate/COSXMLUploadTask.cs
  89. 0 0
      Assets/HotUpdate/COSXMLUploadTask.cs.meta
  90. 0 0
      Assets/HotUpdate/CalMap.cs
  91. 0 0
      Assets/HotUpdate/CalMap.cs.meta
  92. 0 0
      Assets/HotUpdate/CameraController.cs
  93. 0 0
      Assets/HotUpdate/CameraController.cs.meta
  94. 0 0
      Assets/HotUpdate/CameraFollowerLangChao.cs
  95. 0 0
      Assets/HotUpdate/CameraFollowerLangChao.cs.meta
  96. 0 0
      Assets/HotUpdate/CarouselImage.cs
  97. 0 0
      Assets/HotUpdate/CarouselImage.cs.meta
  98. 0 0
      Assets/HotUpdate/CensorJobDetail.cs
  99. 0 0
      Assets/HotUpdate/CensorJobDetail.cs.meta
  100. 0 0
      Assets/HotUpdate/ChangeHeight.cs

+ 3 - 1
.gitignore

@@ -38,4 +38,6 @@
 /Assets/Samples/*
 /Assets/Samples.meta
 /Packages/*
-/Build/*
+/Build/*
+/AssetBundles
+/HybridCLRData

+ 0 - 477
Assets/Editor/Migration/AddVuforiaEnginePackage.cs

@@ -1,477 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-using UnityEditor;
-using UnityEngine;
-
-[InitializeOnLoad]
-public class AddVuforiaEnginePackage
-{
-    static readonly string sPackagesPath = Path.Combine(Application.dataPath, "..", "Packages");
-    static readonly string sManifestJsonPath = Path.Combine(sPackagesPath, "manifest.json");
-    const string VUFORIA_VERSION = "10.13.3";
-    const string VUFORIA_TAR_FILE_DIR = "Assets/Editor/Migration/";
-    const string DEPENDENCIES_DIR = "Assets/Resources/VuforiaDependencies";
-    const string PACKAGES_RELATIVE_PATH = "Packages";
-    const string MRTK_PACKAGE = "com.microsoft.mixedreality.toolkit.foundation";
-
-    static readonly ScopedRegistry sVuforiaRegistry = new ScopedRegistry
-    {
-        name = "Vuforia",
-        url = "https://registry.packages.developer.vuforia.com/",
-        scopes = new[] { "com.ptc.vuforia" }
-    };
-
-    static AddVuforiaEnginePackage()
-    {
-        if (Application.isBatchMode)
-            return;
-        
-        var manifest = Manifest.JsonDeserialize(sManifestJsonPath);
-
-        var packages = GetPackageDescriptions();
-            
-        if (!packages.All(p => IsVuforiaUpToDate(manifest, p.BundleId)))
-            DisplayAddPackageDialog(manifest, packages);
-        
-        ResolveDependencies(manifest);
-    }
-
-    public static void ResolveDependenciesSilent()
-    {
-        var manifest = Manifest.JsonDeserialize(sManifestJsonPath);
-        
-        var packages = GetDependencyDescriptions();
-        if (packages != null && packages.Count > 0)
-            MoveDependencies(manifest, packages);
-        
-        CleanupDependenciesFolder();
-    }
-    
-    static void ResolveDependencies(Manifest manifest)
-    {
-        var packages = GetDependencyDescriptions();
-        if (packages != null && packages.Count > 0)
-            DisplayDependenciesDialog(manifest, packages);
-    }
-    
-    static bool IsVuforiaUpToDate(Manifest manifest, string bundleId)
-    {
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-        var upToDate = false;
-
-        if(dependencies.Any(d => d.Contains(bundleId) && d.Contains("file:")))
-            upToDate = IsUsingRightFileVersion(manifest, bundleId);
-
-        return upToDate;
-    }
-    
-    static bool IsUsingRightFileVersion(Manifest manifest, string bundleId)
-    {
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-        return dependencies.Any(d => d.Contains(bundleId) && d.Contains("file:") && VersionNumberIsTheLatestTarball(d));
-    }
-
-    static bool VersionNumberIsTheLatestTarball(string package)
-    {
-        var version = package.Split('-');
-        if (version.Length >= 2)
-        {
-            version[1] = version[1].TrimEnd(".tgz\"".ToCharArray());
-            return IsCurrentVersionHigher(version[1]);
-        }
-
-        return false;
-    }
-
-    static bool IsCurrentVersionHigher(string currentVersionString)
-    {
-        if (string.IsNullOrEmpty(currentVersionString) || string.IsNullOrEmpty(VUFORIA_VERSION))
-            return false;
-
-        var currentVersion = TryConvertStringToVersion(currentVersionString);
-        var updatingVersion = TryConvertStringToVersion(VUFORIA_VERSION);
-        
-        if (currentVersion >= updatingVersion)
-            return true;
-
-        return false;
-    }
-
-    static Version TryConvertStringToVersion(string versionString)
-    {
-        Version res;
-        try
-        {
-            res = new Version(versionString);
-        }
-        catch (Exception)
-        {
-            return new Version();
-        }
-
-        return new Version(res.Major, res.Minor, res.Build);
-    }
-
-    static void DisplayAddPackageDialog(Manifest manifest, IEnumerable<PackageDescription> packages)
-    {
-        if (EditorUtility.DisplayDialog("Add Vuforia Engine Package",
-            $"Would you like to update your project to include the Vuforia Engine {VUFORIA_VERSION} package from the unitypackage?\n" +
-            $"If an older Vuforia Engine package is already present in your project it will be upgraded to version {VUFORIA_VERSION}\n\n",
-            "Update", "Cancel"))
-        {
-            foreach (var package in packages)
-            {
-                MovePackageFile(VUFORIA_TAR_FILE_DIR, package.FileName);
-                UpdateManifest(manifest, package.BundleId, package.FileName);
-            }
-        }
-    }
-    
-    static void DisplayDependenciesDialog(Manifest manifest, IEnumerable<PackageDescription> packages)
-    {
-        if (EditorUtility.DisplayDialog("Add Sample Dependencies",
-                                        "Would you like to update your project to include all of its dependencies?\n" +
-                                        "If a different version of the package is already present, it will be deleted.\n\n",
-                                        "Update", "Cancel"))
-        {
-            MoveDependencies(manifest, packages);
-            CleanupDependenciesFolder();
-            if (ShouldProjectRestart(packages))
-                DisplayRestartDialog();
-        }
-    }
-
-    static void DisplayRestartDialog()
-    {
-        if (EditorUtility.DisplayDialog("Restart Unity Editor",
-                                        "Due to a Unity lifecycle issue, this project needs to be closed and re-opened " +
-                                        "after importing this Vuforia Engine sample.\n\n",
-                                        "Restart", "Cancel"))
-        {
-            RestartEditor();
-        }
-    }
-
-    static List<PackageDescription> GetPackageDescriptions()
-    {
-        var tarFilePaths = Directory.GetFiles(Path.Combine(Directory.GetCurrentDirectory(), VUFORIA_TAR_FILE_DIR)).Where(f => f.EndsWith(".tgz"));
-
-        // Define a regular expression for repeated words.
-        var rx = new Regex(@"(([a-z]+)(\.[a-z]+)*)\-((\d+)\.(\d+)\.(\d+))", RegexOptions.Compiled | RegexOptions.IgnoreCase);
-
-        var packageDescriptions = new List<PackageDescription>();
-
-        foreach (var filePath in tarFilePaths)
-        {
-            var fileName = Path.GetFileName(filePath);
-            // Find matches.
-            var matches = rx.Matches(fileName);
-
-            // Report on each match.
-            foreach (Match match in matches)
-            {
-                var groups = match.Groups;
-                var bundleId = groups[1].Value;
-                var versionString = groups[4].Value;
-
-                if (string.Equals(versionString, VUFORIA_VERSION))
-                {
-                    packageDescriptions.Add(new PackageDescription()
-                    {
-                        BundleId = bundleId,
-                        FileName = fileName
-                    });
-                }
-            }
-        }
-
-        return packageDescriptions;
-    }
-    
-    static List<PackageDescription> GetDependencyDescriptions()
-    {
-        var dependencyDirectory = Path.Combine(Directory.GetCurrentDirectory(), DEPENDENCIES_DIR);
-        if (!Directory.Exists(dependencyDirectory))
-            return null;
-        var tarFilePaths = Directory.GetFiles(dependencyDirectory).Where(f => f.EndsWith(".tgz"));
-
-        // Define a regular expression for repeated words.
-        var rx = new Regex(@"(([a-z]+)(\.[a-z]+)+)(\-((\d+)\.(\d+)\.(\d+)))*", RegexOptions.Compiled | RegexOptions.IgnoreCase);
-
-        var packageDescriptions = new List<PackageDescription>();
-
-        foreach (var filePath in tarFilePaths)
-        {
-            var fileName = Path.GetFileName(filePath);
-            // Find matches.
-            var matches = rx.Matches(fileName);
-
-            // Report on each match.
-            foreach (Match match in matches)
-            {
-                var groups = match.Groups;
-                var bundleId = groups[1].Value;
-                bundleId = bundleId.Replace(".tgz", "");
-
-                packageDescriptions.Add(new PackageDescription
-                                        {
-                                            BundleId = bundleId,
-                                            FileName = fileName
-                                        });
-            }
-        }
-
-        return packageDescriptions;
-    }
-
-    static void MoveDependencies(Manifest manifest, IEnumerable<PackageDescription> packages)
-    {
-        foreach (var package in packages)
-        {
-            RemoveDependency(manifest, package.BundleId, package.FileName);
-            MovePackageFile(DEPENDENCIES_DIR, package.FileName);
-            UpdateManifest(manifest, package.BundleId, package.FileName);
-        }
-    }
-    
-    static void MovePackageFile(string folder, string fileName)
-    {
-        var sourceFile = Path.Combine(Directory.GetCurrentDirectory(), folder, fileName);
-        var destFile = Path.Combine(Directory.GetCurrentDirectory(), PACKAGES_RELATIVE_PATH, fileName);
-        File.Copy(sourceFile, destFile, true);
-        File.Delete(sourceFile);
-        File.Delete(sourceFile + ".meta");
-    }
-
-    static void UpdateManifest(Manifest manifest, string bundleId, string fileName)
-    {
-        //remove existing, outdated NPM scoped registry if present
-        var registries = manifest.ScopedRegistries.ToList();
-        if (registries.Contains(sVuforiaRegistry))
-        {
-            registries.Remove(sVuforiaRegistry);
-            manifest.ScopedRegistries = registries.ToArray();
-        }
-
-        //add specified vuforia version via Git URL
-        SetVuforiaVersion(manifest, bundleId, fileName);
-
-        manifest.JsonSerialize(sManifestJsonPath);
-
-        AssetDatabase.Refresh();
-    }
-
-    static void RemoveDependency(Manifest manifest, string bundleId, string fileName)
-    {
-        var destFile = Path.Combine(Directory.GetCurrentDirectory(), PACKAGES_RELATIVE_PATH, fileName);
-        if (File.Exists(destFile))
-            File.Delete(destFile);
-        
-        // remove existing
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-        for (var i = 0; i < dependencies.Count; i++)
-        {
-            if (dependencies[i].Contains(bundleId))
-            {
-                dependencies.RemoveAt(i);
-                break;
-            }
-        }
-
-        manifest.Dependencies = string.Join(",", dependencies);
-
-        manifest.JsonSerialize(sManifestJsonPath);
-
-        AssetDatabase.Refresh();
-    }
-
-    static void CleanupDependenciesFolder()
-    {
-        if (!Directory.Exists(DEPENDENCIES_DIR)) 
-            return;
-        
-        Directory.Delete(DEPENDENCIES_DIR);
-        File.Delete(DEPENDENCIES_DIR + ".meta");
-        AssetDatabase.Refresh();
-    }
-
-    static bool ShouldProjectRestart(IEnumerable<PackageDescription> packages)
-    {
-        return packages.Any(p => p.BundleId == MRTK_PACKAGE);
-    }
-
-    static void RestartEditor()
-    {
-        EditorApplication.OpenProject(Directory.GetCurrentDirectory());
-    }
-
-    static void SetVuforiaVersion(Manifest manifest, string bundleId, string fileName)
-    {
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-
-        var versionEntry = $"\"file:{fileName}\"";
-        var versionSet = false;
-        for (var i = 0; i < dependencies.Count; i++)
-        {
-            if (!dependencies[i].Contains(bundleId))
-                continue;
-
-            var kvp = dependencies[i].Split(':');
-            dependencies[i] = kvp[0] + ": " + versionEntry;
-            versionSet = true;
-        }
-
-        if (!versionSet)
-            dependencies.Insert(0, $"\n    \"{bundleId}\": {versionEntry}");
-
-        manifest.Dependencies = string.Join(",", dependencies);
-    }
-
-    class Manifest
-    {
-        const int INDEX_NOT_FOUND = -1;
-        const string DEPENDENCIES_KEY = "\"dependencies\"";
-
-        public ScopedRegistry[] ScopedRegistries;
-        public string Dependencies;
-
-        public void JsonSerialize(string path)
-        {
-            var jsonString = GetJsonString();
-
-            var startIndex = GetDependenciesStart(jsonString);
-            var endIndex = GetDependenciesEnd(jsonString, startIndex);
-
-            var stringBuilder = new StringBuilder();
-
-            stringBuilder.Append(jsonString.Substring(0, startIndex));
-            stringBuilder.Append(Dependencies);
-            stringBuilder.Append(jsonString.Substring(endIndex, jsonString.Length - endIndex));
-
-            File.WriteAllText(path, stringBuilder.ToString());
-        }
-
-        string GetJsonString()
-        {
-            if (ScopedRegistries.Length > 0)
-                return JsonUtility.ToJson(
-                    new UnitySerializableManifest { scopedRegistries = ScopedRegistries, dependencies = new DependencyPlaceholder() },
-                    true);
-
-            return JsonUtility.ToJson(
-                new UnitySerializableManifestDependenciesOnly() { dependencies = new DependencyPlaceholder() },
-                true);
-        }
-
-
-        public static Manifest JsonDeserialize(string path)
-        {
-            var jsonString = File.ReadAllText(path);
-
-            var registries = JsonUtility.FromJson<UnitySerializableManifest>(jsonString).scopedRegistries ?? new ScopedRegistry[0];
-            var dependencies = DeserializeDependencies(jsonString);
-
-            return new Manifest { ScopedRegistries = registries, Dependencies = dependencies };
-        }
-
-        static string DeserializeDependencies(string json)
-        {
-            var startIndex = GetDependenciesStart(json);
-            var endIndex = GetDependenciesEnd(json, startIndex);
-
-            if (startIndex == INDEX_NOT_FOUND || endIndex == INDEX_NOT_FOUND)
-                return null;
-
-            var dependencies = json.Substring(startIndex, endIndex - startIndex);
-            return dependencies;
-        }
-
-        static int GetDependenciesStart(string json)
-        {
-            var dependenciesIndex = json.IndexOf(DEPENDENCIES_KEY, StringComparison.InvariantCulture);
-            if (dependenciesIndex == INDEX_NOT_FOUND)
-                return INDEX_NOT_FOUND;
-
-            var dependenciesStartIndex = json.IndexOf('{', dependenciesIndex + DEPENDENCIES_KEY.Length);
-
-            if (dependenciesStartIndex == INDEX_NOT_FOUND)
-                return INDEX_NOT_FOUND;
-
-            dependenciesStartIndex++; //add length of '{' to starting point
-
-            return dependenciesStartIndex;
-        }
-
-        static int GetDependenciesEnd(string jsonString, int dependenciesStartIndex)
-        {
-            return jsonString.IndexOf('}', dependenciesStartIndex);
-        }
-    }
-
-    class UnitySerializableManifestDependenciesOnly
-    {
-        public DependencyPlaceholder dependencies;
-    }
-
-    class UnitySerializableManifest
-    {
-        public ScopedRegistry[] scopedRegistries;
-        public DependencyPlaceholder dependencies;
-    }
-
-    [Serializable]
-    struct ScopedRegistry
-    {
-        public string name;
-        public string url;
-        public string[] scopes;
-
-        public override bool Equals(object obj)
-        {
-            if (!(obj is ScopedRegistry))
-                return false;
-
-            var other = (ScopedRegistry)obj;
-
-            return name == other.name &&
-                   url == other.url &&
-                   scopes.SequenceEqual(other.scopes);
-        }
-
-        public static bool operator ==(ScopedRegistry a, ScopedRegistry b)
-        {
-            return a.Equals(b);
-        }
-
-        public static bool operator !=(ScopedRegistry a, ScopedRegistry b)
-        {
-            return !a.Equals(b);
-        }
-
-        public override int GetHashCode()
-        {
-            var hash = 17;
-
-            foreach (var scope in scopes)
-                hash = hash * 23 + (scope == null ? 0 : scope.GetHashCode());
-
-            hash = hash * 23 + (name == null ? 0 : name.GetHashCode());
-            hash = hash * 23 + (url == null ? 0 : url.GetHashCode());
-
-            return hash;
-        }
-    }
-
-    [Serializable]
-    struct DependencyPlaceholder { }
-    
-    struct PackageDescription
-    {
-        public string BundleId;
-        public string FileName;
-    }
-}

BIN
Assets/Help.pdf


+ 8 - 0
Assets/Help.pdf.meta

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

+ 1 - 1
Assets/OpenCVForUnity/Examples/Advanced.meta → Assets/HotUpdate.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: a9c95d4239682d24b9797d9cc7607fd8
+guid: b438851df4ca040b7a5ab49da6c54743
 folderAsset: yes
 DefaultImporter:
   externalObjects: {}

+ 0 - 0
Assets/ARBGManager.cs → Assets/HotUpdate/ARBGManager.cs


+ 0 - 0
Assets/ARBGManager.cs.meta → Assets/HotUpdate/ARBGManager.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AbortMultipartUploadRequest.cs → Assets/HotUpdate/AbortMultipartUploadRequest.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AbortMultipartUploadRequest.cs.meta → Assets/HotUpdate/AbortMultipartUploadRequest.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AbortMultipartUploadResult.cs → Assets/HotUpdate/AbortMultipartUploadResult.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AbortMultipartUploadResult.cs.meta → Assets/HotUpdate/AbortMultipartUploadResult.cs.meta


+ 0 - 0
Assets/Scripts/Blue/AbstractController.cs → Assets/HotUpdate/AbstractController.cs


+ 0 - 0
Assets/Scripts/Blue/AbstractController.cs.meta → Assets/HotUpdate/AbstractController.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/AccessControlPolicy.cs → Assets/HotUpdate/AccessControlPolicy.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/AccessControlPolicy.cs.meta → Assets/HotUpdate/AccessControlPolicy.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Components/AmbientOcclusionComponent.cs → Assets/HotUpdate/AmbientOcclusionComponent.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Components/AmbientOcclusionComponent.cs.meta → Assets/HotUpdate/AmbientOcclusionComponent.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/AmbientOcclusionModel.cs → Assets/HotUpdate/AmbientOcclusionModel.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/AmbientOcclusionModel.cs.meta → Assets/HotUpdate/AmbientOcclusionModel.cs.meta


+ 0 - 0
Assets/Scripts/UI/AnchorEditorPanel/AnchorBtnItem.cs → Assets/HotUpdate/AnchorBtnItem.cs


+ 0 - 0
Assets/Scripts/UI/AnchorEditorPanel/AnchorBtnItem.cs.meta → Assets/HotUpdate/AnchorBtnItem.cs.meta


+ 0 - 0
Assets/Scripts/UI/AnchorEditorPanel/AnchorEditorPanel.cs → Assets/HotUpdate/AnchorEditorPanel.cs


+ 0 - 0
Assets/Scripts/UI/AnchorEditorPanel/AnchorEditorPanel.cs.meta → Assets/HotUpdate/AnchorEditorPanel.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/AntialiasingModel.cs → Assets/HotUpdate/AntialiasingModel.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/AntialiasingModel.cs.meta → Assets/HotUpdate/AntialiasingModel.cs.meta


+ 0 - 0
Assets/Scripts/Data/AppConfigConst.cs → Assets/HotUpdate/AppConfigConst.cs


+ 0 - 0
Assets/Scripts/Data/AppConfigConst.cs.meta → Assets/HotUpdate/AppConfigConst.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AppendObjectRequest.cs → Assets/HotUpdate/AppendObjectRequest.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AppendObjectRequest.cs.meta → Assets/HotUpdate/AppendObjectRequest.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AppendObjectResult.cs → Assets/HotUpdate/AppendObjectResult.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Object/AppendObjectResult.cs.meta → Assets/HotUpdate/AppendObjectResult.cs.meta


+ 0 - 0
Assets/Script/Aquarium/AquariumManage.cs → Assets/HotUpdate/AquariumManage.cs


+ 0 - 0
Assets/Script/Aquarium/AquariumManage.cs.meta → Assets/HotUpdate/AquariumManage.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Properties/AssemblyInfo.cs → Assets/HotUpdate/AssemblyInfo.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Properties/AssemblyInfo.cs.meta → Assets/HotUpdate/AssemblyInfo.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/AudioCensorJobInfo.cs → Assets/HotUpdate/AudioCensorJobInfo.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/AudioCensorJobInfo.cs.meta → Assets/HotUpdate/AudioCensorJobInfo.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/AudioCensorResult.cs → Assets/HotUpdate/AudioCensorResult.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/AudioCensorResult.cs.meta → Assets/HotUpdate/AudioCensorResult.cs.meta


+ 0 - 0
Assets/Scripts/LayoutTemplate/BaseTemPlate.cs → Assets/HotUpdate/BaseTemPlate.cs


+ 0 - 0
Assets/Scripts/LayoutTemplate/BaseTemPlate.cs.meta → Assets/HotUpdate/BaseTemPlate.cs.meta


+ 0 - 0
Assets/Scripts/BaseManager/BaseUI.cs → Assets/HotUpdate/BaseUI.cs


+ 0 - 0
Assets/Scripts/BaseManager/BaseUI.cs.meta → Assets/HotUpdate/BaseUI.cs.meta


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark01.cs → Assets/HotUpdate/Benchmark01.cs


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark01.cs.meta → Assets/HotUpdate/Benchmark01.cs.meta


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark01_UGUI.cs → Assets/HotUpdate/Benchmark01_UGUI.cs


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark01_UGUI.cs.meta → Assets/HotUpdate/Benchmark01_UGUI.cs.meta


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark02.cs → Assets/HotUpdate/Benchmark02.cs


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark02.cs.meta → Assets/HotUpdate/Benchmark02.cs.meta


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark03.cs → Assets/HotUpdate/Benchmark03.cs


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark03.cs.meta → Assets/HotUpdate/Benchmark03.cs.meta


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark04.cs → Assets/HotUpdate/Benchmark04.cs


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/Benchmark04.cs.meta → Assets/HotUpdate/Benchmark04.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Components/BloomComponent.cs → Assets/HotUpdate/BloomComponent.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Components/BloomComponent.cs.meta → Assets/HotUpdate/BloomComponent.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/BloomModel.cs → Assets/HotUpdate/BloomModel.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/BloomModel.cs.meta → Assets/HotUpdate/BloomModel.cs.meta


+ 0 - 0
Assets/Scripts/Blue/Controller/BlueMQTT.cs → Assets/HotUpdate/BlueMQTT.cs


+ 0 - 0
Assets/Scripts/Blue/Controller/BlueMQTT.cs.meta → Assets/HotUpdate/BlueMQTT.cs.meta


+ 0 - 0
Assets/Scripts/Blue/ScriptableObject/BlueObject.cs → Assets/HotUpdate/BlueObject.cs


+ 0 - 0
Assets/Scripts/Blue/ScriptableObject/BlueObject.cs.meta → Assets/HotUpdate/BlueObject.cs.meta


+ 0 - 0
Assets/Scripts/Blue/0.FrameworkDesign/Util/BlueSingleton.cs → Assets/HotUpdate/BlueSingleton.cs


+ 0 - 0
Assets/Scripts/Blue/0.FrameworkDesign/Util/BlueSingleton.cs.meta → Assets/HotUpdate/BlueSingleton.cs.meta


+ 0 - 0
Assets/Scripts/Blue/Test/BlueTest.cs → Assets/HotUpdate/BlueTest.cs


+ 0 - 0
Assets/Scripts/Blue/Test/BlueTest.cs.meta → Assets/HotUpdate/BlueTest.cs.meta


+ 4 - 3
Assets/Scripts/Blue/0.FrameworkDesign/BlueVersion3.cs → Assets/HotUpdate/BlueVersion3.cs

@@ -60,6 +60,7 @@ namespace Blue
         }
         void IArchitecture.InitArchitecture()
         {
+            Debug.Log("InitArchitectureInitArchitectureInitArchitecture");
             StartInit();
             FinishInit();
         }
@@ -120,7 +121,7 @@ namespace Blue
     /// <summary>
     /// 启动 Architecture
     /// </summary>
-    internal sealed class ArchitectureInitiator
+    public class ArchitectureInitiator
     {
         private ArchitectureInitiator() { }
         private static ArchitectureInitiator mInstance;
@@ -129,9 +130,9 @@ namespace Blue
         private Type architectureType = typeof(IArchitecture);
         private bool architectureInited; // Architecture 是否初始化完成
 
-        [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterAssembliesLoaded)]
-        private static void Initiate()
+        public static void Initiate()
         {
+            Debug.Log("ArchitectureInitiatorArchitectureInitiatorArchitectureInitiatorArchitectureInitiatorArchitectureInitiator");
             mInstance = new ArchitectureInitiator();
 
             Type[] typeArr = Assembly.GetExecutingAssembly().GetTypes(); // 获取正在执行的程序集类型数组

+ 0 - 0
Assets/Scripts/Blue/0.FrameworkDesign/BlueVersion3.cs.meta → Assets/HotUpdate/BlueVersion3.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/BucketLoggingStatus.cs → Assets/HotUpdate/BucketLoggingStatus.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/BucketLoggingStatus.cs.meta → Assets/HotUpdate/BucketLoggingStatus.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Bucket/BucketRequest.cs → Assets/HotUpdate/BucketRequest.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Bucket/BucketRequest.cs.meta → Assets/HotUpdate/BucketRequest.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Components/BuiltinDebugViewsComponent.cs → Assets/HotUpdate/BuiltinDebugViewsComponent.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Components/BuiltinDebugViewsComponent.cs.meta → Assets/HotUpdate/BuiltinDebugViewsComponent.cs.meta


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/BuiltinDebugViewsModel.cs → Assets/HotUpdate/BuiltinDebugViewsModel.cs


+ 0 - 0
Assets/3D/FX/_DemoAssets/BloodDemo/PostProcessing/Runtime/Models/BuiltinDebugViewsModel.cs.meta → Assets/HotUpdate/BuiltinDebugViewsModel.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/CI/CIRequest.cs → Assets/HotUpdate/CIRequest.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/CI/CIRequest.cs.meta → Assets/HotUpdate/CIRequest.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/CORSConfiguration.cs → Assets/HotUpdate/CORSConfiguration.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/CORSConfiguration.cs.meta → Assets/HotUpdate/CORSConfiguration.cs.meta


+ 0 - 0
Assets/COSScripts/COSDownLoad.cs → Assets/HotUpdate/COSDownLoad.cs


+ 0 - 0
Assets/COSScripts/COSDownLoad.cs.meta → Assets/HotUpdate/COSDownLoad.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLCopyTask.cs → Assets/HotUpdate/COSXMLCopyTask.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLCopyTask.cs.meta → Assets/HotUpdate/COSXMLCopyTask.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLDownloadTask.cs → Assets/HotUpdate/COSXMLDownloadTask.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLDownloadTask.cs.meta → Assets/HotUpdate/COSXMLDownloadTask.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLTask.cs → Assets/HotUpdate/COSXMLTask.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLTask.cs.meta → Assets/HotUpdate/COSXMLTask.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLUploadTask.cs → Assets/HotUpdate/COSXMLUploadTask.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Transfer/COSXMLUploadTask.cs.meta → Assets/HotUpdate/COSXMLUploadTask.cs.meta


+ 0 - 0
Assets/Scripts/CalMap.cs → Assets/HotUpdate/CalMap.cs


+ 0 - 0
Assets/Scripts/CalMap.cs.meta → Assets/HotUpdate/CalMap.cs.meta


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/CameraController.cs → Assets/HotUpdate/CameraController.cs


+ 0 - 0
Assets/TextMesh Pro/Examples & Extras/Scripts/CameraController.cs.meta → Assets/HotUpdate/CameraController.cs.meta


+ 0 - 0
Assets/2.0/CameraFollowerLangChao.cs → Assets/HotUpdate/CameraFollowerLangChao.cs


+ 0 - 0
Assets/2.0/CameraFollowerLangChao.cs.meta → Assets/HotUpdate/CameraFollowerLangChao.cs.meta


+ 0 - 0
Assets/Scripts/UI/CarouselImage.cs → Assets/HotUpdate/CarouselImage.cs


+ 0 - 0
Assets/Scripts/UI/CarouselImage.cs.meta → Assets/HotUpdate/CarouselImage.cs.meta


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/CensorJobDetail.cs → Assets/HotUpdate/CensorJobDetail.cs


+ 0 - 0
Assets/COS/QCloudCSharpSDK/COSXML/Model/Tag/CensorJobDetail.cs.meta → Assets/HotUpdate/CensorJobDetail.cs.meta


+ 0 - 0
Assets/Scripts/ChangeHeight.cs → Assets/HotUpdate/ChangeHeight.cs


Some files were not shown because too many files changed in this diff