lanxin 3 tuần trước cách đây
mục cha
commit
653376f17b
28 tập tin đã thay đổi với 2748 bổ sung2746 xóa
  1. BIN
      public/unityMo/Build/Build.data.unityweb
  2. 6 6
      public/unityMo/ServiceWorker.js
  3. 736 736
      public/unityMo/StreamingAssets/Settings.json
  4. 167 167
      public/unityMo/StreamingAssets/aa/AddressablesLink/link.xml
  5. BIN
      public/unityMo/StreamingAssets/aa/WebGL/4d0b6aa8264949a568c452d2c79d8312.bundle
  6. BIN
      public/unityMo/StreamingAssets/aa/catalog.bin
  7. 1 1
      public/unityMo/StreamingAssets/aa/catalog.hash
  8. 50 50
      public/unityMo/TemplateData/style.css
  9. 56 56
      public/unityMo/export_drawingBoard.js
  10. 46 46
      public/unityMo/export_main.js
  11. 69 69
      public/unityMo/export_tombstoneView.js
  12. 11 10
      public/unityMo/index.css
  13. 121 121
      public/unityMo/index.html
  14. 111 111
      public/unityMo/main.html
  15. BIN
      public/unityPc/Build/Build.data.unityweb
  16. 6 6
      public/unityPc/ServiceWorker.js
  17. 736 736
      public/unityPc/StreamingAssets/Settings.json
  18. 167 167
      public/unityPc/StreamingAssets/aa/AddressablesLink/link.xml
  19. BIN
      public/unityPc/StreamingAssets/aa/WebGL/4d0b6aa8264949a568c452d2c79d8312.bundle
  20. BIN
      public/unityPc/StreamingAssets/aa/catalog.bin
  21. 1 1
      public/unityPc/StreamingAssets/aa/catalog.hash
  22. 50 50
      public/unityPc/TemplateData/style.css
  23. 56 56
      public/unityPc/export_drawingBoard.js
  24. 46 46
      public/unityPc/export_main.js
  25. 69 69
      public/unityPc/export_tombstoneView.js
  26. 11 10
      public/unityPc/index.css
  27. 121 121
      public/unityPc/index.html
  28. 111 111
      public/unityPc/main.html

BIN
public/unityMo/Build/Build.data.unityweb


+ 6 - 6
public/unityMo/ServiceWorker.js

@@ -1,6 +1,6 @@
-
-self.addEventListener('install', function (e) {
-    console.log('[Service Worker] Install');
-    
-});
-
+
+self.addEventListener('install', function (e) {
+    console.log('[Service Worker] Install');
+    
+});
+

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 736 - 736
public/unityMo/StreamingAssets/Settings.json


+ 167 - 167
public/unityMo/StreamingAssets/aa/AddressablesLink/link.xml

@@ -1,168 +1,168 @@
-<linker>
-  <assembly fullname="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="DrawingBoard.Runtime.Scripts.MainScript" preserve="all" />
-    <type fullname="DrawingBoard.Runtime.Scripts.UIImageItem" preserve="all" />
-    <type fullname="DrawingBoard.Runtime.Scripts.UINumberSelector" preserve="all" />
-    <type fullname="DrawingBoard.Runtime.Scripts.UIScrollRectHelper" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.LockComponent" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIAlphaTween" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIJoystick" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UILookComponent" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIPlayerControl" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspot" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspotList" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UISequenceFrameComponent" preserve="all" />
-  </assembly>
-  <assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
-    <type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
-    <type fullname="UnityEngine.AddressableAssets.AssetReference" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.AI.Navigation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="Unity.AI.Navigation.NavMeshSurface" preserve="all" />
-  </assembly>
-  <assembly fullname="Unity.Cinemachine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="Unity.Cinemachine.CinemachineBrain" preserve="all" />
-    <type fullname="Unity.Cinemachine.CinemachineCamera" preserve="all" />
-    <type fullname="Unity.Cinemachine.CinemachineFollow" preserve="all" />
-    <type fullname="Unity.Cinemachine.CinemachineRotationComposer" preserve="all" />
-    <type fullname="Unity.Cinemachine.CameraTarget" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.CinemachineBlendDefinition" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.CinemachineBrain/LensModeOverrideSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.LensSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.LensSettings/PhysicalSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.LookaheadSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.PrioritySettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.ScreenComposerSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.ScreenComposerSettings/DeadZoneSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.ScreenComposerSettings/HardLimitSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.TargetTracking.TrackerSettings" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.RenderPipelines.Core.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Rendering.Volume" preserve="all" />
-    <type fullname="UnityEngine.Rendering.VolumeProfile" preserve="all" />
-    <type fullname="UnityEngine.Rendering.BoolParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.ClampedFloatParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.ClampedIntParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.ColorParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.FloatParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.MinFloatParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.TextureParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Vector2Parameter" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Rendering.Universal.Bloom" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.ColorAdjustments" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.Tonemapping" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalCameraData" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalLightData" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.Vignette" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.TemporalAA/Settings" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.DownscaleParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.HDRACESPresetParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.NeutralRangeReductionModeParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.TonemappingModeParameter" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
-  </assembly>
-  <assembly fullname="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="TMPro.TextMeshProUGUI" preserve="all" />
-    <type fullname="TMPro.TMP_FontAsset" preserve="all" />
-    <type fullname="TMPro.FaceInfo_Legacy" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.FontAssetCreationSettings" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.KerningTable" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.TMP_Character" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.TMP_FontFeatureTable" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.TMP_FontWeightPair" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.VertexGradient" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="UnityEngine.AIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.AI.NavMeshAgent" preserve="all" />
-    <type fullname="UnityEngine.AI.NavMeshData" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.AnimationClip" preserve="all" />
-    <type fullname="UnityEngine.Animator" preserve="all" />
-    <type fullname="UnityEngine.RuntimeAnimatorController" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.AudioListener" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Camera" preserve="all" />
-    <type fullname="UnityEngine.Cubemap" preserve="all" />
-    <type fullname="UnityEngine.GameObject" preserve="all" />
-    <type fullname="UnityEngine.Light" preserve="all" />
-    <type fullname="UnityEngine.LightmapSettings" preserve="all" />
-    <type fullname="UnityEngine.Material" preserve="all" />
-    <type fullname="UnityEngine.Mesh" preserve="all" />
-    <type fullname="UnityEngine.MeshFilter" preserve="all" />
-    <type fullname="UnityEngine.MeshRenderer" preserve="all" />
-    <type fullname="UnityEngine.Object" preserve="all" />
-    <type fullname="UnityEngine.RectTransform" preserve="all" />
-    <type fullname="UnityEngine.RenderSettings" preserve="all" />
-    <type fullname="UnityEngine.Shader" preserve="all" />
-    <type fullname="UnityEngine.Sprite" preserve="all" />
-    <type fullname="UnityEngine.Texture2D" preserve="all" />
-    <type fullname="UnityEngine.Transform" preserve="all" />
-    <type fullname="UnityEngine.Events.ArgumentCache" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.PersistentCallGroup" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.PersistentListenerMode" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.RectOffset" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.UnityEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.UnityEvent`2" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Vector2" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.ParticleSystem" preserve="all" />
-    <type fullname="UnityEngine.ParticleSystemRenderer" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.MeshCollider" preserve="all" />
-    <type fullname="UnityEngine.SphereCollider" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.EventSystems.EventSystem" preserve="all" />
-    <type fullname="UnityEngine.EventSystems.EventTrigger" preserve="all" />
-    <type fullname="UnityEngine.EventSystems.StandaloneInputModule" preserve="all" />
-    <type fullname="UnityEngine.UI.AspectRatioFitter" preserve="all" />
-    <type fullname="UnityEngine.UI.Button" preserve="all" />
-    <type fullname="UnityEngine.UI.CanvasScaler" preserve="all" />
-    <type fullname="UnityEngine.UI.ContentSizeFitter" preserve="all" />
-    <type fullname="UnityEngine.UI.GraphicRaycaster" preserve="all" />
-    <type fullname="UnityEngine.UI.HorizontalLayoutGroup" preserve="all" />
-    <type fullname="UnityEngine.UI.Image" preserve="all" />
-    <type fullname="UnityEngine.UI.LayoutElement" preserve="all" />
-    <type fullname="UnityEngine.UI.Mask" preserve="all" />
-    <type fullname="UnityEngine.UI.RawImage" preserve="all" />
-    <type fullname="UnityEngine.UI.RectMask2D" preserve="all" />
-    <type fullname="UnityEngine.UI.ScrollRect" preserve="all" />
-    <type fullname="UnityEngine.UI.Toggle" preserve="all" />
-    <type fullname="UnityEngine.UI.ToggleGroup" preserve="all" />
-    <type fullname="UnityEngine.UI.VerticalLayoutGroup" preserve="all" />
-    <type fullname="UnityEngine.EventSystems.EventTrigger/Entry" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.EventSystems.EventTrigger/TriggerEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.AnimationTriggers" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.Button/ButtonClickedEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.ColorBlock" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.MaskableGraphic/CullStateChangedEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.Navigation" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.ScrollRect/ScrollRectEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.SpriteState" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.Toggle/ToggleEvent" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Canvas" preserve="all" />
-    <type fullname="UnityEngine.CanvasGroup" preserve="all" />
-    <type fullname="UnityEngine.CanvasRenderer" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.TextCoreFontEngineModule">
-    <type fullname="UnityEngine.TextCore.FaceInfo" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.TextCore.Glyph" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.TextCore.GlyphMetrics" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.TextCore.GlyphRect" preserve="nothing" serialized="true" />
-  </assembly>
+<linker>
+  <assembly fullname="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="DrawingBoard.Runtime.Scripts.MainScript" preserve="all" />
+    <type fullname="DrawingBoard.Runtime.Scripts.UIImageItem" preserve="all" />
+    <type fullname="DrawingBoard.Runtime.Scripts.UINumberSelector" preserve="all" />
+    <type fullname="DrawingBoard.Runtime.Scripts.UIScrollRectHelper" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.LockComponent" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIAlphaTween" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIJoystick" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UILookComponent" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIPlayerControl" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspot" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspotList" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UISequenceFrameComponent" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
+    <type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
+    <type fullname="UnityEngine.AddressableAssets.AssetReference" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.AI.Navigation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="Unity.AI.Navigation.NavMeshSurface" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.Cinemachine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="Unity.Cinemachine.CinemachineBrain" preserve="all" />
+    <type fullname="Unity.Cinemachine.CinemachineCamera" preserve="all" />
+    <type fullname="Unity.Cinemachine.CinemachineFollow" preserve="all" />
+    <type fullname="Unity.Cinemachine.CinemachineRotationComposer" preserve="all" />
+    <type fullname="Unity.Cinemachine.CameraTarget" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.CinemachineBlendDefinition" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.CinemachineBrain/LensModeOverrideSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.LensSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.LensSettings/PhysicalSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.LookaheadSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.PrioritySettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.ScreenComposerSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.ScreenComposerSettings/DeadZoneSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.ScreenComposerSettings/HardLimitSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.TargetTracking.TrackerSettings" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.RenderPipelines.Core.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Rendering.Volume" preserve="all" />
+    <type fullname="UnityEngine.Rendering.VolumeProfile" preserve="all" />
+    <type fullname="UnityEngine.Rendering.BoolParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.ClampedFloatParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.ClampedIntParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.ColorParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.FloatParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.MinFloatParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.TextureParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Vector2Parameter" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Rendering.Universal.Bloom" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.ColorAdjustments" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.Tonemapping" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalCameraData" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalLightData" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.Vignette" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.TemporalAA/Settings" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.DownscaleParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.HDRACESPresetParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.NeutralRangeReductionModeParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.TonemappingModeParameter" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="TMPro.TextMeshProUGUI" preserve="all" />
+    <type fullname="TMPro.TMP_FontAsset" preserve="all" />
+    <type fullname="TMPro.FaceInfo_Legacy" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.FontAssetCreationSettings" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.KerningTable" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.TMP_Character" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.TMP_FontFeatureTable" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.TMP_FontWeightPair" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.VertexGradient" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="UnityEngine.AIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.AI.NavMeshAgent" preserve="all" />
+    <type fullname="UnityEngine.AI.NavMeshData" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.AnimationClip" preserve="all" />
+    <type fullname="UnityEngine.Animator" preserve="all" />
+    <type fullname="UnityEngine.RuntimeAnimatorController" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.AudioListener" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Camera" preserve="all" />
+    <type fullname="UnityEngine.Cubemap" preserve="all" />
+    <type fullname="UnityEngine.GameObject" preserve="all" />
+    <type fullname="UnityEngine.Light" preserve="all" />
+    <type fullname="UnityEngine.LightmapSettings" preserve="all" />
+    <type fullname="UnityEngine.Material" preserve="all" />
+    <type fullname="UnityEngine.Mesh" preserve="all" />
+    <type fullname="UnityEngine.MeshFilter" preserve="all" />
+    <type fullname="UnityEngine.MeshRenderer" preserve="all" />
+    <type fullname="UnityEngine.Object" preserve="all" />
+    <type fullname="UnityEngine.RectTransform" preserve="all" />
+    <type fullname="UnityEngine.RenderSettings" preserve="all" />
+    <type fullname="UnityEngine.Shader" preserve="all" />
+    <type fullname="UnityEngine.Sprite" preserve="all" />
+    <type fullname="UnityEngine.Texture2D" preserve="all" />
+    <type fullname="UnityEngine.Transform" preserve="all" />
+    <type fullname="UnityEngine.Events.ArgumentCache" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.PersistentCallGroup" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.PersistentListenerMode" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.RectOffset" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.UnityEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.UnityEvent`2" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Vector2" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.ParticleSystem" preserve="all" />
+    <type fullname="UnityEngine.ParticleSystemRenderer" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.MeshCollider" preserve="all" />
+    <type fullname="UnityEngine.SphereCollider" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.EventSystems.EventSystem" preserve="all" />
+    <type fullname="UnityEngine.EventSystems.EventTrigger" preserve="all" />
+    <type fullname="UnityEngine.EventSystems.StandaloneInputModule" preserve="all" />
+    <type fullname="UnityEngine.UI.AspectRatioFitter" preserve="all" />
+    <type fullname="UnityEngine.UI.Button" preserve="all" />
+    <type fullname="UnityEngine.UI.CanvasScaler" preserve="all" />
+    <type fullname="UnityEngine.UI.ContentSizeFitter" preserve="all" />
+    <type fullname="UnityEngine.UI.GraphicRaycaster" preserve="all" />
+    <type fullname="UnityEngine.UI.HorizontalLayoutGroup" preserve="all" />
+    <type fullname="UnityEngine.UI.Image" preserve="all" />
+    <type fullname="UnityEngine.UI.LayoutElement" preserve="all" />
+    <type fullname="UnityEngine.UI.Mask" preserve="all" />
+    <type fullname="UnityEngine.UI.RawImage" preserve="all" />
+    <type fullname="UnityEngine.UI.RectMask2D" preserve="all" />
+    <type fullname="UnityEngine.UI.ScrollRect" preserve="all" />
+    <type fullname="UnityEngine.UI.Toggle" preserve="all" />
+    <type fullname="UnityEngine.UI.ToggleGroup" preserve="all" />
+    <type fullname="UnityEngine.UI.VerticalLayoutGroup" preserve="all" />
+    <type fullname="UnityEngine.EventSystems.EventTrigger/Entry" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.EventSystems.EventTrigger/TriggerEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.AnimationTriggers" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.Button/ButtonClickedEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.ColorBlock" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.MaskableGraphic/CullStateChangedEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.Navigation" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.ScrollRect/ScrollRectEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.SpriteState" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.Toggle/ToggleEvent" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Canvas" preserve="all" />
+    <type fullname="UnityEngine.CanvasGroup" preserve="all" />
+    <type fullname="UnityEngine.CanvasRenderer" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.TextCoreFontEngineModule">
+    <type fullname="UnityEngine.TextCore.FaceInfo" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.TextCore.Glyph" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.TextCore.GlyphMetrics" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.TextCore.GlyphRect" preserve="nothing" serialized="true" />
+  </assembly>
 </linker>

BIN
public/unityMo/StreamingAssets/aa/WebGL/4d0b6aa8264949a568c452d2c79d8312.bundle


BIN
public/unityMo/StreamingAssets/aa/catalog.bin


+ 1 - 1
public/unityMo/StreamingAssets/aa/catalog.hash

@@ -1 +1 @@
-b7cfa62815eeba7013dd6bdfd5f4d019
+751682cd4e991e86f598c29c3f55b8a5

+ 50 - 50
public/unityMo/TemplateData/style.css

@@ -1,50 +1,50 @@
-html {}
-body { padding: 0; margin: 0 }
-#unity-container { position: fixed; width: 100%; height: 100%; }
-#unity-canvas { width: 100%; height: 100%; background:  url('bg.jpg') no-repeat center; background-size: cover; }
-#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
-#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
-#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
-#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
-
-@media all and (orientation: landscape) {
-    .landscape {
-        transform: rotate(0deg);
-        width: 100vw;
-        width: 100dvw;
-        height: 100vh;
-        height: 100dvh;
-        top: 0;
-        left: 0;
-    }
-    .portrait {
-        transform: rotate(90deg);
-        transform-origin: left top;
-        width: 100vh;
-        width: 100dvh;
-        height: 100vw;
-        height: 100dvw;
-        left: 100%;
-    }
-}
-
-@media all and (orientation: portrait) {
-    .landscape {
-        transform: rotate(90deg);
-        transform-origin: left top;
-        width: 100vh;
-        width: 100dvh;
-        height: 100vw;
-        height: 100dvw;
-        left: 100%;
-    }
-    .portrait {
-        transform: rotate(0deg);
-        width: 100vw;
-        width: 100dvw;
-        height: 100vh;
-        height: 100dvh;
-        top: 0;
-        left: 0;
-    }
-}
+html {}
+body { padding: 0; margin: 0 }
+#unity-container { position: fixed; width: 100%; height: 100%; }
+#unity-canvas { width: 100%; height: 100%; background:  url('bg.jpg') no-repeat center; background-size: cover; }
+#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
+#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
+#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
+#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
+
+@media all and (orientation: landscape) {
+    .landscape {
+        transform: rotate(0deg);
+        width: 100vw;
+        width: 100dvw;
+        height: 100vh;
+        height: 100dvh;
+        top: 0;
+        left: 0;
+    }
+    .portrait {
+        transform: rotate(90deg);
+        transform-origin: left top;
+        width: 100vh;
+        width: 100dvh;
+        height: 100vw;
+        height: 100dvw;
+        left: 100%;
+    }
+}
+
+@media all and (orientation: portrait) {
+    .landscape {
+        transform: rotate(90deg);
+        transform-origin: left top;
+        width: 100vh;
+        width: 100dvh;
+        height: 100vw;
+        height: 100dvw;
+        left: 100%;
+    }
+    .portrait {
+        transform: rotate(0deg);
+        width: 100vw;
+        width: 100dvw;
+        height: 100vh;
+        height: 100dvh;
+        top: 0;
+        left: 0;
+    }
+}

+ 56 - 56
public/unityMo/export_drawingBoard.js

@@ -1,57 +1,57 @@
-let saveDom = null;
-let isShowSaveDom = false;
-
-window.onDownload = function (base64string) {
-    if (window.isMobile()){
-        saveDom = document.querySelector('.save-image-background');
-        saveDom.src = 'data:image/png;base64,' + base64string;
-        saveDom.style.pointerEvents = 'auto';
-        isShowSaveDom = true;
-        refreshShareBlockSize();
-    } else {
-        let link = document.createElement('a');
-        link.href = 'data:image/png;base64,' + base64string;
-        link.download = 'image';
-        link.click();
-    }
-}
-
-window.onCancelDownload = function() {
-    if (isShowSaveDom){
-        saveDom.src = '';
-        saveDom.style.pointerEvents = 'none';
-        isShowSaveDom = false;
-    }
-}
-
-window.isMobile = function () {
-    return /(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i.test(navigator.userAgent);
-}
-
-function refreshShareBlockSize() {
-    // Unity画布宽高比
-    let unityCanvasWidth = 1515;
-    let unityCanvaslHeight = 780;
-    let unityPanelWidth = 1150;
-    let unityPanelHeight = 740;
-    let unityPanelOffsetY = 0;
-
-    let innerWidth = window.innerWidth;
-    let innerHeight = window.innerHeight;
-
-    let scale = (unityCanvasWidth / unityPanelHeight) >
-    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvaslHeight);
-
-    saveDom.style.width = (unityPanelWidth * scale) + 'px';
-    saveDom.style.height = (unityPanelHeight * scale) + 'px';
-
-    if (unityPanelOffsetY > 0){
-        saveDom.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
-    } else {
-        saveDom.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
-    }
-}
-
-window.addEventListener('resize', ()=>{
-    if (isShowSaveDom) refreshShareBlockSize();
+let saveDom = null;
+let isShowSaveDom = false;
+
+window.onDownload = function (base64string) {
+    if (window.isMobile()){
+        saveDom = document.querySelector('.save-image-background');
+        saveDom.src = 'data:image/png;base64,' + base64string;
+        saveDom.style.pointerEvents = 'auto';
+        isShowSaveDom = true;
+        refreshShareBlockSize();
+    } else {
+        let link = document.createElement('a');
+        link.href = 'data:image/png;base64,' + base64string;
+        link.download = 'image';
+        link.click();
+    }
+}
+
+window.onCancelDownload = function() {
+    if (isShowSaveDom){
+        saveDom.src = '';
+        saveDom.style.pointerEvents = 'none';
+        isShowSaveDom = false;
+    }
+}
+
+window.isMobile = function () {
+    return /(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i.test(navigator.userAgent);
+}
+
+function refreshShareBlockSize() {
+    // Unity画布宽高比
+    let unityCanvasWidth = 1515;
+    let unityCanvaslHeight = 780;
+    let unityPanelWidth = 1150;
+    let unityPanelHeight = 740;
+    let unityPanelOffsetY = 0;
+
+    let innerWidth = window.innerWidth;
+    let innerHeight = window.innerHeight;
+
+    let scale = (unityCanvasWidth / unityPanelHeight) >
+    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvaslHeight);
+
+    saveDom.style.width = (unityPanelWidth * scale) + 'px';
+    saveDom.style.height = (unityPanelHeight * scale) + 'px';
+
+    if (unityPanelOffsetY > 0){
+        saveDom.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
+    } else {
+        saveDom.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
+    }
+}
+
+window.addEventListener('resize', ()=>{
+    if (isShowSaveDom) refreshShareBlockSize();
 });

+ 46 - 46
public/unityMo/export_main.js

@@ -1,46 +1,46 @@
-let currentScene = 'TombstoneView'
-let isLoadingScene = false
-
-//场景加载进度回调
-window.loadSceneProgress = function (progress) {
-    if (window.parent && window.parent !== window) {
-        window.parent.unityLoading(Math.min(0.99, progress))
-    }
-}
-
-//场景准备加载回调
-window.startLoadScene = function () {
-    isLoadingScene = true
-}
-
-//场景已完成加载回调
-window.loadedScene = function () {
-    isLoadingScene = false
-    if (window.parent && window.parent !== window) {
-        window.parent.unityLoading(1)
-    }
-}
-
-//设置场景加载完毕时透明度渐变的时长(秒), 0为去除该效果
-window.setLoadSceneAnimationTime = function (animationTime) {
-    window.unityInstance.SendMessage('SceneLoader', 'SetAnimationTime', animationTime)
-}
-
-//切换场景 场景支持以下参数 "TombstoneView" (一单元), "TransitionScene" (空场景), "RoomScene" (碑中世界), "DrawingBoard" (碑影智绘), 切换之前必须判断是否有场景正在加载
-window.loadScene = function (sceneName) {
-    window.setLoadSceneAnimationTime(sceneName === 'DrawingBoard' ? 1 : 0)
-    window.unityInstance.SendMessage('SceneLoader', 'LoadScene', sceneName)
-    currentScene = sceneName
-
-    window.onCancelDownload();
-}
-
-//是否正在加载场景
-window.isLoadingScene = function () {
-    return isLoadingScene
-}
-
-// 返回当前场景状态
-window.sceneStaRes = function () {
-    return currentScene
-}
+let currentScene = 'TombstoneView'
+let isLoadingScene = false
+
+//场景加载进度回调
+window.loadSceneProgress = function (progress) {
+    if (window.parent && window.parent !== window) {
+        window.parent.unityLoading(Math.min(0.99, progress))
+    }
+}
+
+//场景准备加载回调
+window.startLoadScene = function () {
+    isLoadingScene = true
+}
+
+//场景已完成加载回调
+window.loadedScene = function () {
+    isLoadingScene = false
+    if (window.parent && window.parent !== window) {
+        window.parent.unityLoading(1)
+    }
+}
+
+//设置场景加载完毕时透明度渐变的时长(秒), 0为去除该效果
+window.setLoadSceneAnimationTime = function (animationTime) {
+    window.unityInstance.SendMessage('SceneLoader', 'SetAnimationTime', animationTime)
+}
+
+//切换场景 场景支持以下参数 "TombstoneView" (一单元), "TransitionScene" (空场景), "RoomScene" (碑中世界), "DrawingBoard" (碑影智绘), 切换之前必须判断是否有场景正在加载
+window.loadScene = function (sceneName) {
+    window.setLoadSceneAnimationTime(sceneName === 'DrawingBoard' ? 1 : 0)
+    window.unityInstance.SendMessage('SceneLoader', 'LoadScene', sceneName)
+    currentScene = sceneName
+
+    window.onCancelDownload();
+}
+
+//是否正在加载场景
+window.isLoadingScene = function () {
+    return isLoadingScene
+}
+
+// 返回当前场景状态
+window.sceneStaRes = function () {
+    return currentScene
+}

+ 69 - 69
public/unityMo/export_tombstoneView.js

@@ -1,70 +1,70 @@
-//当需要显示热点Tag的时候触发, 该函数为unity主动调用的函数
-window.showTag = function (index) {
-    if (window.parent && window.parent !== window) {
-        window.parent.showTag(index);
-    }
-}
-//当需要隐藏热点Tag的时候触发, 该函数为unity主动调用的函数
-window.hideTag = function () {
-    if (window.parent && window.parent !== window) {
-        window.parent.hideTag();
-    }
-}
-
-//当模型被操控的时候触发, 任何时候模型进行了移动/旋转/缩放, 都会触发这个函数, 包括主动调用addModelScale函数时, 该函数为unity主动调用的函数
-window.onModelControlled = function () {
-    if (window.parent && window.parent !== window) {
-        window.parent.onModelControlled();
-    }
-}
-
-//更新配置
-window.refreshAppSettings = function (json) {
-    window.unityInstance.SendMessage('MainCanvas', 'RefreshAppSettings', json)
-}
-
-//设置模型自动旋转, 0代表不自动旋转
-window.setModelAutoRotation = function(speed){
-    if (speed != 0) window.resetModel();
-    window.unityInstance.SendMessage('MainCanvas', 'SetModelAutoRotation', speed)
-}
-
-//切换背景图 (0目录页, 1玄石可观, 2石上春秋, 3碑刻密码, 4模型鉴赏) 这些名字对应的蓝湖设计的标题
-window.changePanel = function (index) {
-    window.unityInstance.SendMessage('MainCanvas', 'ChangePanel', index)
-}
-
-//聚焦热点, 对应玄石可观中的热点, 在调用之前需要先调用changPanel(1), 退出页面时需要调用showHotspot(-1)
-window.showHotspot = function (index) {
-    window.unityInstance.SendMessage('MainCanvas', 'ShowHotspot', index)
-}
-
-//聚焦碑文, 对应碑刻密码中的碑文, 在调用之前需要先调用changPanel(3), 退出页面时需要调用showInscription(-1)
-//参数分别对应 0碑额 1碑文第一段 2碑文第二段 3碑文第三段 10全文赏析
-window.showInscription = function (index) {
-    window.unityInstance.SendMessage('MainCanvas', 'ShowInscription', index)
-}
-
-//显示或隐藏碑文, 默认是显示状态, 离开页面时如果是隐藏状态, 则需要再次调用此函数让碑文显示
-window.openHightlight = function (isShow) {
-    window.unityInstance.SendMessage('MainCanvas', 'SetInscriptionActive', isShow ? 1 : 0)
-}
-
-//显示模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
-window.showSize = function () {
-    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 1)
-}
-//隐藏模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
-window.hideSize = function () {
-    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 0)
-}
-
-//改变模型缩放, 正数为放大, 负数为缩小, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的放大缩小按钮
-window.addModelScale = function (value) {
-    window.unityInstance.SendMessage('MainCanvas', 'AddModelScale', value)
-}
-
-//重置模型, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的重置按钮
-window.resetModel = function () {
-    window.unityInstance.SendMessage('MainCanvas', 'ResetModel')
+//当需要显示热点Tag的时候触发, 该函数为unity主动调用的函数
+window.showTag = function (index) {
+    if (window.parent && window.parent !== window) {
+        window.parent.showTag(index);
+    }
+}
+//当需要隐藏热点Tag的时候触发, 该函数为unity主动调用的函数
+window.hideTag = function () {
+    if (window.parent && window.parent !== window) {
+        window.parent.hideTag();
+    }
+}
+
+//当模型被操控的时候触发, 任何时候模型进行了移动/旋转/缩放, 都会触发这个函数, 包括主动调用addModelScale函数时, 该函数为unity主动调用的函数
+window.onModelControlled = function () {
+    if (window.parent && window.parent !== window) {
+        window.parent.onModelControlled();
+    }
+}
+
+//更新配置
+window.refreshAppSettings = function (json) {
+    window.unityInstance.SendMessage('MainCanvas', 'RefreshAppSettings', json)
+}
+
+//设置模型自动旋转, 0代表不自动旋转
+window.setModelAutoRotation = function(speed){
+    if (speed != 0) window.resetModel();
+    window.unityInstance.SendMessage('MainCanvas', 'SetModelAutoRotation', speed)
+}
+
+//切换背景图 (0目录页, 1玄石可观, 2石上春秋, 3碑刻密码, 4模型鉴赏) 这些名字对应的蓝湖设计的标题
+window.changePanel = function (index) {
+    window.unityInstance.SendMessage('MainCanvas', 'ChangePanel', index)
+}
+
+//聚焦热点, 对应玄石可观中的热点, 在调用之前需要先调用changPanel(1), 退出页面时需要调用showHotspot(-1)
+window.showHotspot = function (index) {
+    window.unityInstance.SendMessage('MainCanvas', 'ShowHotspot', index)
+}
+
+//聚焦碑文, 对应碑刻密码中的碑文, 在调用之前需要先调用changPanel(3), 退出页面时需要调用showInscription(-1)
+//参数分别对应 0碑额 1碑文第一段 2碑文第二段 3碑文第三段 10全文赏析
+window.showInscription = function (index) {
+    window.unityInstance.SendMessage('MainCanvas', 'ShowInscription', index)
+}
+
+//显示或隐藏碑文, 默认是显示状态, 离开页面时如果是隐藏状态, 则需要再次调用此函数让碑文显示
+window.openHightlight = function (isShow) {
+    window.unityInstance.SendMessage('MainCanvas', 'SetInscriptionActive', isShow ? 1 : 0)
+}
+
+//显示模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
+window.showSize = function () {
+    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 1)
+}
+//隐藏模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
+window.hideSize = function () {
+    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 0)
+}
+
+//改变模型缩放, 正数为放大, 负数为缩小, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的放大缩小按钮
+window.addModelScale = function (value) {
+    window.unityInstance.SendMessage('MainCanvas', 'AddModelScale', value)
+}
+
+//重置模型, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的重置按钮
+window.resetModel = function () {
+    window.unityInstance.SendMessage('MainCanvas', 'ResetModel')
 }

+ 11 - 10
public/unityMo/index.css

@@ -1,11 +1,12 @@
-.save-image-block {
-    position: absolute;
-    top: 50%;
-    left: 50%;
-    transform: translate(-50%, -50%);
-}
-
-.save-image-background {
-    opacity: 0;
-    pointer-events: none;
+.save-image-block {
+    position: absolute;
+    top: 50%;
+    left: 50%;
+    transform: translate(-50%, -50%);
+    pointer-events: none;
+}
+
+.save-image-background {
+    opacity: 0;
+    pointer-events: none;
 }

+ 121 - 121
public/unityMo/index.html

@@ -1,122 +1,122 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <title>Chenzhebei-ShanxiMuseum</title>
-    <link rel="shortcut icon" href="TemplateData/favicon.ico">
-    <link rel="stylesheet" href="index.css">
-    <link rel="stylesheet" href="TemplateData/style.css">
-    <script src="./export_main.js"></script>
-    <script src="./export_tombstoneView.js"></script>
-    <script src="./export_roomScene.js"></script>
-    <script src="./export_drawingBoard.js"></script>
-</head>
-<body>
-    <div id="unity-container">
-        <canvas id="unity-canvas" width=960 height=600 tabindex="-1"></canvas>
-        <div id="unity-loading-bar">
-            <div id="unity-progress-bar-empty">
-                <div id="unity-progress-bar-full"></div>
-            </div>
-        </div>
-        <div id="unity-warning"></div>
-
-        <div class="save-image-block">
-            <img src="" class="save-image-background" alt="">
-        </div>
-    </div>
-</body>
-<script>
-
-    var container = document.querySelector("#unity-container");
-    var canvas = document.querySelector("#unity-canvas");
-    var loadingBar = document.querySelector("#unity-loading-bar");
-    var progressBarFull = document.querySelector("#unity-progress-bar-full");
-    var warningBanner = document.querySelector("#unity-warning");
-
-    // Shows a temporary message banner/ribbon for a few seconds, or
-    // a permanent error message on top of the canvas if type=='error'.
-    // If type=='warning', a yellow highlight color is used.
-    // Modify or remove this function to customize the visually presented
-    // way that non-critical warnings and error messages are presented to the
-    // user.
-    function unityShowBanner(msg, type) {
-        function updateBannerVisibility() {
-            warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
-        }
-        var div = document.createElement('div');
-        div.innerHTML = msg;
-        warningBanner.appendChild(div);
-        if (type == 'error') div.style = 'background: red; padding: 10px;';
-        else {
-            if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
-            setTimeout(function () {
-                warningBanner.removeChild(div);
-                updateBannerVisibility();
-            }, 5000);
-        }
-        updateBannerVisibility();
-    }
-
-    var buildUrl = "Build";
-    var loaderUrl = buildUrl + "/Build.loader.js";
-    var config = {
-        dataUrl: buildUrl + "/Build.data.unityweb",
-        frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
-        codeUrl: buildUrl + "/Build.wasm.unityweb",
-        streamingAssetsUrl: "StreamingAssets",
-        devicePixelRatio: 2,
-        companyName: "FDage",
-        productName: "Chenzhebei-ShanxiMuseum",
-        productVersion: "0.1",
-        showBanner: unityShowBanner,
-    };
-
-    // By default Unity keeps WebGL canvas render target size matched with
-    // the DOM size of the canvas element (scaled by window.devicePixelRatio)
-    // Set this to false if you want to decouple this synchronization from
-    // happening inside the engine, and you would instead like to size up
-    // the canvas DOM size and WebGL render target sizes yourself.
-    // config.matchWebGLToCanvasSize = false;
-
-    if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
-        // Mobile device style: fill the whole browser client area with the game canvas:
-        var meta = document.createElement('meta');
-        meta.name = 'viewport';
-        meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
-        document.getElementsByTagName('head')[0].appendChild(meta);
-        document.querySelector("#unity-container").className = "unity-mobile";
-        canvas.className = "unity-mobile";
-
-        // To lower canvas resolution on mobile devices to gain some
-        // performance, uncomment the following line:
-        // config.devicePixelRatio = 1;
-    }
-
-
-
-loadingBar.style.display = "block";
-    var script = document.createElement("script");
-    script.src = loaderUrl;
-    script.onload = () => {
-        createUnityInstance(canvas, config, (progress) => {
-            if (window.parent && window.parent !== window) {
-                window.parent.unityLoading(progress);
-            }
-            progressBarFull.style.width = 100 * progress + "%";
-        }).then((unityInstance) => {
-            loadingBar.style.display = "none";
-            window.unityInstance = unityInstance;
-
-            if (window.parent && window.parent !== window) {
-                window.parent.unityLoading(1);
-            }
-        }).catch((message) => {
-            alert(message);
-        });
-    };
-    document.body.appendChild(script);
-</script>
-
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Chenzhebei-ShanxiMuseum</title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+    <link rel="stylesheet" href="index.css">
+    <link rel="stylesheet" href="TemplateData/style.css">
+    <script src="./export_main.js"></script>
+    <script src="./export_tombstoneView.js"></script>
+    <script src="./export_roomScene.js"></script>
+    <script src="./export_drawingBoard.js"></script>
+</head>
+<body>
+    <div id="unity-container">
+        <canvas id="unity-canvas" width=960 height=600 tabindex="-1"></canvas>
+        <div id="unity-loading-bar">
+            <div id="unity-progress-bar-empty">
+                <div id="unity-progress-bar-full"></div>
+            </div>
+        </div>
+        <div id="unity-warning"></div>
+
+        <div class="save-image-block">
+            <img src="" class="save-image-background" alt="">
+        </div>
+    </div>
+</body>
+<script>
+
+    var container = document.querySelector("#unity-container");
+    var canvas = document.querySelector("#unity-canvas");
+    var loadingBar = document.querySelector("#unity-loading-bar");
+    var progressBarFull = document.querySelector("#unity-progress-bar-full");
+    var warningBanner = document.querySelector("#unity-warning");
+
+    // Shows a temporary message banner/ribbon for a few seconds, or
+    // a permanent error message on top of the canvas if type=='error'.
+    // If type=='warning', a yellow highlight color is used.
+    // Modify or remove this function to customize the visually presented
+    // way that non-critical warnings and error messages are presented to the
+    // user.
+    function unityShowBanner(msg, type) {
+        function updateBannerVisibility() {
+            warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
+        }
+        var div = document.createElement('div');
+        div.innerHTML = msg;
+        warningBanner.appendChild(div);
+        if (type == 'error') div.style = 'background: red; padding: 10px;';
+        else {
+            if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
+            setTimeout(function () {
+                warningBanner.removeChild(div);
+                updateBannerVisibility();
+            }, 5000);
+        }
+        updateBannerVisibility();
+    }
+
+    var buildUrl = "Build";
+    var loaderUrl = buildUrl + "/Build.loader.js";
+    var config = {
+        dataUrl: buildUrl + "/Build.data.unityweb",
+        frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
+        codeUrl: buildUrl + "/Build.wasm.unityweb",
+        streamingAssetsUrl: "StreamingAssets",
+        devicePixelRatio: 2,
+        companyName: "FDage",
+        productName: "Chenzhebei-ShanxiMuseum",
+        productVersion: "0.1",
+        showBanner: unityShowBanner,
+    };
+
+    // By default Unity keeps WebGL canvas render target size matched with
+    // the DOM size of the canvas element (scaled by window.devicePixelRatio)
+    // Set this to false if you want to decouple this synchronization from
+    // happening inside the engine, and you would instead like to size up
+    // the canvas DOM size and WebGL render target sizes yourself.
+    // config.matchWebGLToCanvasSize = false;
+
+    if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
+        // Mobile device style: fill the whole browser client area with the game canvas:
+        var meta = document.createElement('meta');
+        meta.name = 'viewport';
+        meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
+        document.getElementsByTagName('head')[0].appendChild(meta);
+        document.querySelector("#unity-container").className = "unity-mobile";
+        canvas.className = "unity-mobile";
+
+        // To lower canvas resolution on mobile devices to gain some
+        // performance, uncomment the following line:
+        // config.devicePixelRatio = 1;
+    }
+
+
+
+loadingBar.style.display = "block";
+    var script = document.createElement("script");
+    script.src = loaderUrl;
+    script.onload = () => {
+        createUnityInstance(canvas, config, (progress) => {
+            if (window.parent && window.parent !== window) {
+                window.parent.unityLoading(progress);
+            }
+            progressBarFull.style.width = 100 * progress + "%";
+        }).then((unityInstance) => {
+            loadingBar.style.display = "none";
+            window.unityInstance = unityInstance;
+
+            if (window.parent && window.parent !== window) {
+                window.parent.unityLoading(1);
+            }
+        }).catch((message) => {
+            alert(message);
+        });
+    };
+    document.body.appendChild(script);
+</script>
+
 </html>

+ 111 - 111
public/unityMo/main.html

@@ -1,111 +1,111 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-  <head>
-    <meta charset="utf-8">
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Chenzhebei-ShanxiMuseum</title>
-    <link rel="shortcut icon" href="TemplateData/favicon.ico">
-      <style>
-        * {
-          margin: 0;
-          padding: 0;
-          box-sizing: border-box;
-        }
-
-        body {
-          overflow: hidden;
-        }
-
-        .root {
-          position: absolute;
-        }
-
-        iframe {
-          width: 100%;
-          height: 100%;
-        }
-
-        @media all and (orientation: landscape) {
-          .landscape {
-            transform: rotate(0deg);
-            width: 100vw;
-            width: 100dvw;
-            height: 100vh;
-            height: 100dvh;
-            top: 0;
-            left: 0;
-          }
-          .portrait {
-            transform: rotate(90deg);
-            transform-origin: left top;
-            width: 100vh;
-            width: 100dvh;
-            height: 100vw;
-            height: 100dvw;
-            left: 100%;
-          }
-        }
-        
-        @media all and (orientation: portrait) {
-          .landscape {
-            transform: rotate(90deg);
-            transform-origin: left top;
-            width: 100vh;
-            width: 100dvh;
-            height: 100vw;
-            height: 100dvw;
-            left: 100%;
-          }
-          .portrait {
-            transform: rotate(0deg);
-            width: 100vw;
-            width: 100dvw;
-            height: 100vh;
-            height: 100dvh;
-            top: 0;
-            left: 0;
-          }
-        }
-      </style>
-  </head>
-  <body>
-    <div class="root">
-      <iframe
-        id="main"
-        frameborder="0">
-      </iframe>
-    </div>
-  </body>
-  <script>
-    const rootDom = document.querySelector('.root')
-    const iframe = document.querySelector('#main')
-    let isPortrait = false;
-
-    function internal_ChangeViewType(portrait){
-      if(portrait){
-        rootDom.classList.remove('landscape');
-        rootDom.classList.add('portrait');
-      }else{
-        rootDom.classList.add('landscape');
-        rootDom.classList.remove('portrait');
-      }
-    }
-    
-    window.changeViewType = function(landscape){
-      if (isPortrait !== landscape){
-        isPortrait = landscape;
-        internal_ChangeViewType(landscape);
-      }
-    }
-    internal_ChangeViewType(isPortrait);
-    
-    window.onUnityClickBack = function () {
-        if (window.parent && window.parent !== window) {
-            window.parent.onUnityClickBack();
-        }
-    }
-    
-    iframe.src = "./main.html"
-  </script>
-</html>
+<!DOCTYPE html>
+<html lang="zh-CN">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Chenzhebei-ShanxiMuseum</title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+      <style>
+        * {
+          margin: 0;
+          padding: 0;
+          box-sizing: border-box;
+        }
+
+        body {
+          overflow: hidden;
+        }
+
+        .root {
+          position: absolute;
+        }
+
+        iframe {
+          width: 100%;
+          height: 100%;
+        }
+
+        @media all and (orientation: landscape) {
+          .landscape {
+            transform: rotate(0deg);
+            width: 100vw;
+            width: 100dvw;
+            height: 100vh;
+            height: 100dvh;
+            top: 0;
+            left: 0;
+          }
+          .portrait {
+            transform: rotate(90deg);
+            transform-origin: left top;
+            width: 100vh;
+            width: 100dvh;
+            height: 100vw;
+            height: 100dvw;
+            left: 100%;
+          }
+        }
+        
+        @media all and (orientation: portrait) {
+          .landscape {
+            transform: rotate(90deg);
+            transform-origin: left top;
+            width: 100vh;
+            width: 100dvh;
+            height: 100vw;
+            height: 100dvw;
+            left: 100%;
+          }
+          .portrait {
+            transform: rotate(0deg);
+            width: 100vw;
+            width: 100dvw;
+            height: 100vh;
+            height: 100dvh;
+            top: 0;
+            left: 0;
+          }
+        }
+      </style>
+  </head>
+  <body>
+    <div class="root">
+      <iframe
+        id="main"
+        frameborder="0">
+      </iframe>
+    </div>
+  </body>
+  <script>
+    const rootDom = document.querySelector('.root')
+    const iframe = document.querySelector('#main')
+    let isPortrait = false;
+
+    function internal_ChangeViewType(portrait){
+      if(portrait){
+        rootDom.classList.remove('landscape');
+        rootDom.classList.add('portrait');
+      }else{
+        rootDom.classList.add('landscape');
+        rootDom.classList.remove('portrait');
+      }
+    }
+    
+    window.changeViewType = function(landscape){
+      if (isPortrait !== landscape){
+        isPortrait = landscape;
+        internal_ChangeViewType(landscape);
+      }
+    }
+    internal_ChangeViewType(isPortrait);
+    
+    window.onUnityClickBack = function () {
+        if (window.parent && window.parent !== window) {
+            window.parent.onUnityClickBack();
+        }
+    }
+    
+    iframe.src = "./main.html"
+  </script>
+</html>

BIN
public/unityPc/Build/Build.data.unityweb


+ 6 - 6
public/unityPc/ServiceWorker.js

@@ -1,6 +1,6 @@
-
-self.addEventListener('install', function (e) {
-    console.log('[Service Worker] Install');
-    
-});
-
+
+self.addEventListener('install', function (e) {
+    console.log('[Service Worker] Install');
+    
+});
+

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 736 - 736
public/unityPc/StreamingAssets/Settings.json


+ 167 - 167
public/unityPc/StreamingAssets/aa/AddressablesLink/link.xml

@@ -1,168 +1,168 @@
-<linker>
-  <assembly fullname="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="DrawingBoard.Runtime.Scripts.MainScript" preserve="all" />
-    <type fullname="DrawingBoard.Runtime.Scripts.UIImageItem" preserve="all" />
-    <type fullname="DrawingBoard.Runtime.Scripts.UINumberSelector" preserve="all" />
-    <type fullname="DrawingBoard.Runtime.Scripts.UIScrollRectHelper" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.LockComponent" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIAlphaTween" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIJoystick" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UILookComponent" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIPlayerControl" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspot" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspotList" preserve="all" />
-    <type fullname="RoomScene.Runtime.Scripts.UISequenceFrameComponent" preserve="all" />
-  </assembly>
-  <assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
-    <type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
-    <type fullname="UnityEngine.AddressableAssets.AssetReference" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.AI.Navigation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="Unity.AI.Navigation.NavMeshSurface" preserve="all" />
-  </assembly>
-  <assembly fullname="Unity.Cinemachine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="Unity.Cinemachine.CinemachineBrain" preserve="all" />
-    <type fullname="Unity.Cinemachine.CinemachineCamera" preserve="all" />
-    <type fullname="Unity.Cinemachine.CinemachineFollow" preserve="all" />
-    <type fullname="Unity.Cinemachine.CinemachineRotationComposer" preserve="all" />
-    <type fullname="Unity.Cinemachine.CameraTarget" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.CinemachineBlendDefinition" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.CinemachineBrain/LensModeOverrideSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.LensSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.LensSettings/PhysicalSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.LookaheadSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.PrioritySettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.ScreenComposerSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.ScreenComposerSettings/DeadZoneSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.ScreenComposerSettings/HardLimitSettings" preserve="nothing" serialized="true" />
-    <type fullname="Unity.Cinemachine.TargetTracking.TrackerSettings" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.RenderPipelines.Core.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Rendering.Volume" preserve="all" />
-    <type fullname="UnityEngine.Rendering.VolumeProfile" preserve="all" />
-    <type fullname="UnityEngine.Rendering.BoolParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.ClampedFloatParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.ClampedIntParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.ColorParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.FloatParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.MinFloatParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.TextureParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Vector2Parameter" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Rendering.Universal.Bloom" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.ColorAdjustments" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.Tonemapping" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalCameraData" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalLightData" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.Vignette" preserve="all" />
-    <type fullname="UnityEngine.Rendering.Universal.TemporalAA/Settings" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.DownscaleParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.HDRACESPresetParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.NeutralRangeReductionModeParameter" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Rendering.Universal.TonemappingModeParameter" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
-    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
-  </assembly>
-  <assembly fullname="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="TMPro.TextMeshProUGUI" preserve="all" />
-    <type fullname="TMPro.TMP_FontAsset" preserve="all" />
-    <type fullname="TMPro.FaceInfo_Legacy" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.FontAssetCreationSettings" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.KerningTable" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.TMP_Character" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.TMP_FontFeatureTable" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.TMP_FontWeightPair" preserve="nothing" serialized="true" />
-    <type fullname="TMPro.VertexGradient" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="UnityEngine.AIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.AI.NavMeshAgent" preserve="all" />
-    <type fullname="UnityEngine.AI.NavMeshData" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.AnimationClip" preserve="all" />
-    <type fullname="UnityEngine.Animator" preserve="all" />
-    <type fullname="UnityEngine.RuntimeAnimatorController" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.AudioListener" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Camera" preserve="all" />
-    <type fullname="UnityEngine.Cubemap" preserve="all" />
-    <type fullname="UnityEngine.GameObject" preserve="all" />
-    <type fullname="UnityEngine.Light" preserve="all" />
-    <type fullname="UnityEngine.LightmapSettings" preserve="all" />
-    <type fullname="UnityEngine.Material" preserve="all" />
-    <type fullname="UnityEngine.Mesh" preserve="all" />
-    <type fullname="UnityEngine.MeshFilter" preserve="all" />
-    <type fullname="UnityEngine.MeshRenderer" preserve="all" />
-    <type fullname="UnityEngine.Object" preserve="all" />
-    <type fullname="UnityEngine.RectTransform" preserve="all" />
-    <type fullname="UnityEngine.RenderSettings" preserve="all" />
-    <type fullname="UnityEngine.Shader" preserve="all" />
-    <type fullname="UnityEngine.Sprite" preserve="all" />
-    <type fullname="UnityEngine.Texture2D" preserve="all" />
-    <type fullname="UnityEngine.Transform" preserve="all" />
-    <type fullname="UnityEngine.Events.ArgumentCache" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.PersistentCallGroup" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.PersistentListenerMode" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.RectOffset" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.UnityEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Events.UnityEvent`2" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.Vector2" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.ParticleSystem" preserve="all" />
-    <type fullname="UnityEngine.ParticleSystemRenderer" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.MeshCollider" preserve="all" />
-    <type fullname="UnityEngine.SphereCollider" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.EventSystems.EventSystem" preserve="all" />
-    <type fullname="UnityEngine.EventSystems.EventTrigger" preserve="all" />
-    <type fullname="UnityEngine.EventSystems.StandaloneInputModule" preserve="all" />
-    <type fullname="UnityEngine.UI.AspectRatioFitter" preserve="all" />
-    <type fullname="UnityEngine.UI.Button" preserve="all" />
-    <type fullname="UnityEngine.UI.CanvasScaler" preserve="all" />
-    <type fullname="UnityEngine.UI.ContentSizeFitter" preserve="all" />
-    <type fullname="UnityEngine.UI.GraphicRaycaster" preserve="all" />
-    <type fullname="UnityEngine.UI.HorizontalLayoutGroup" preserve="all" />
-    <type fullname="UnityEngine.UI.Image" preserve="all" />
-    <type fullname="UnityEngine.UI.LayoutElement" preserve="all" />
-    <type fullname="UnityEngine.UI.Mask" preserve="all" />
-    <type fullname="UnityEngine.UI.RawImage" preserve="all" />
-    <type fullname="UnityEngine.UI.RectMask2D" preserve="all" />
-    <type fullname="UnityEngine.UI.ScrollRect" preserve="all" />
-    <type fullname="UnityEngine.UI.Toggle" preserve="all" />
-    <type fullname="UnityEngine.UI.ToggleGroup" preserve="all" />
-    <type fullname="UnityEngine.UI.VerticalLayoutGroup" preserve="all" />
-    <type fullname="UnityEngine.EventSystems.EventTrigger/Entry" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.EventSystems.EventTrigger/TriggerEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.AnimationTriggers" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.Button/ButtonClickedEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.ColorBlock" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.MaskableGraphic/CullStateChangedEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.Navigation" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.ScrollRect/ScrollRectEvent" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.SpriteState" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.UI.Toggle/ToggleEvent" preserve="nothing" serialized="true" />
-  </assembly>
-  <assembly fullname="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
-    <type fullname="UnityEngine.Canvas" preserve="all" />
-    <type fullname="UnityEngine.CanvasGroup" preserve="all" />
-    <type fullname="UnityEngine.CanvasRenderer" preserve="all" />
-  </assembly>
-  <assembly fullname="UnityEngine.TextCoreFontEngineModule">
-    <type fullname="UnityEngine.TextCore.FaceInfo" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.TextCore.Glyph" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.TextCore.GlyphMetrics" preserve="nothing" serialized="true" />
-    <type fullname="UnityEngine.TextCore.GlyphRect" preserve="nothing" serialized="true" />
-  </assembly>
+<linker>
+  <assembly fullname="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="DrawingBoard.Runtime.Scripts.MainScript" preserve="all" />
+    <type fullname="DrawingBoard.Runtime.Scripts.UIImageItem" preserve="all" />
+    <type fullname="DrawingBoard.Runtime.Scripts.UINumberSelector" preserve="all" />
+    <type fullname="DrawingBoard.Runtime.Scripts.UIScrollRectHelper" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.LockComponent" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIAlphaTween" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIJoystick" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UILookComponent" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIPlayerControl" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspot" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UIRoomSceneHotspotList" preserve="all" />
+    <type fullname="RoomScene.Runtime.Scripts.UISequenceFrameComponent" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
+    <type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
+    <type fullname="UnityEngine.AddressableAssets.AssetReference" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.AI.Navigation, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="Unity.AI.Navigation.NavMeshSurface" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.Cinemachine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="Unity.Cinemachine.CinemachineBrain" preserve="all" />
+    <type fullname="Unity.Cinemachine.CinemachineCamera" preserve="all" />
+    <type fullname="Unity.Cinemachine.CinemachineFollow" preserve="all" />
+    <type fullname="Unity.Cinemachine.CinemachineRotationComposer" preserve="all" />
+    <type fullname="Unity.Cinemachine.CameraTarget" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.CinemachineBlendDefinition" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.CinemachineBrain/LensModeOverrideSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.LensSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.LensSettings/PhysicalSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.LookaheadSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.PrioritySettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.ScreenComposerSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.ScreenComposerSettings/DeadZoneSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.ScreenComposerSettings/HardLimitSettings" preserve="nothing" serialized="true" />
+    <type fullname="Unity.Cinemachine.TargetTracking.TrackerSettings" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.RenderPipelines.Core.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Rendering.Volume" preserve="all" />
+    <type fullname="UnityEngine.Rendering.VolumeProfile" preserve="all" />
+    <type fullname="UnityEngine.Rendering.BoolParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.ClampedFloatParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.ClampedIntParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.ColorParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.FloatParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.MinFloatParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.TextureParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Vector2Parameter" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.RenderPipelines.Universal.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Rendering.Universal.Bloom" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.ColorAdjustments" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.Tonemapping" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalCameraData" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.UniversalAdditionalLightData" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.Vignette" preserve="all" />
+    <type fullname="UnityEngine.Rendering.Universal.TemporalAA/Settings" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.DownscaleParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.HDRACESPresetParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.NeutralRangeReductionModeParameter" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Rendering.Universal.TonemappingModeParameter" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.TextMeshPro, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="TMPro.TextMeshProUGUI" preserve="all" />
+    <type fullname="TMPro.TMP_FontAsset" preserve="all" />
+    <type fullname="TMPro.FaceInfo_Legacy" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.FontAssetCreationSettings" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.KerningTable" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.TMP_Character" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.TMP_FontFeatureTable" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.TMP_FontWeightPair" preserve="nothing" serialized="true" />
+    <type fullname="TMPro.VertexGradient" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="UnityEngine.AIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.AI.NavMeshAgent" preserve="all" />
+    <type fullname="UnityEngine.AI.NavMeshData" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.AnimationClip" preserve="all" />
+    <type fullname="UnityEngine.Animator" preserve="all" />
+    <type fullname="UnityEngine.RuntimeAnimatorController" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.AudioModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.AudioListener" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Camera" preserve="all" />
+    <type fullname="UnityEngine.Cubemap" preserve="all" />
+    <type fullname="UnityEngine.GameObject" preserve="all" />
+    <type fullname="UnityEngine.Light" preserve="all" />
+    <type fullname="UnityEngine.LightmapSettings" preserve="all" />
+    <type fullname="UnityEngine.Material" preserve="all" />
+    <type fullname="UnityEngine.Mesh" preserve="all" />
+    <type fullname="UnityEngine.MeshFilter" preserve="all" />
+    <type fullname="UnityEngine.MeshRenderer" preserve="all" />
+    <type fullname="UnityEngine.Object" preserve="all" />
+    <type fullname="UnityEngine.RectTransform" preserve="all" />
+    <type fullname="UnityEngine.RenderSettings" preserve="all" />
+    <type fullname="UnityEngine.Shader" preserve="all" />
+    <type fullname="UnityEngine.Sprite" preserve="all" />
+    <type fullname="UnityEngine.Texture2D" preserve="all" />
+    <type fullname="UnityEngine.Transform" preserve="all" />
+    <type fullname="UnityEngine.Events.ArgumentCache" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.PersistentCallGroup" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.PersistentListenerMode" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.RectOffset" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.UnityEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Events.UnityEvent`2" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.Vector2" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="UnityEngine.ParticleSystemModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.ParticleSystem" preserve="all" />
+    <type fullname="UnityEngine.ParticleSystemRenderer" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.MeshCollider" preserve="all" />
+    <type fullname="UnityEngine.SphereCollider" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.EventSystems.EventSystem" preserve="all" />
+    <type fullname="UnityEngine.EventSystems.EventTrigger" preserve="all" />
+    <type fullname="UnityEngine.EventSystems.StandaloneInputModule" preserve="all" />
+    <type fullname="UnityEngine.UI.AspectRatioFitter" preserve="all" />
+    <type fullname="UnityEngine.UI.Button" preserve="all" />
+    <type fullname="UnityEngine.UI.CanvasScaler" preserve="all" />
+    <type fullname="UnityEngine.UI.ContentSizeFitter" preserve="all" />
+    <type fullname="UnityEngine.UI.GraphicRaycaster" preserve="all" />
+    <type fullname="UnityEngine.UI.HorizontalLayoutGroup" preserve="all" />
+    <type fullname="UnityEngine.UI.Image" preserve="all" />
+    <type fullname="UnityEngine.UI.LayoutElement" preserve="all" />
+    <type fullname="UnityEngine.UI.Mask" preserve="all" />
+    <type fullname="UnityEngine.UI.RawImage" preserve="all" />
+    <type fullname="UnityEngine.UI.RectMask2D" preserve="all" />
+    <type fullname="UnityEngine.UI.ScrollRect" preserve="all" />
+    <type fullname="UnityEngine.UI.Toggle" preserve="all" />
+    <type fullname="UnityEngine.UI.ToggleGroup" preserve="all" />
+    <type fullname="UnityEngine.UI.VerticalLayoutGroup" preserve="all" />
+    <type fullname="UnityEngine.EventSystems.EventTrigger/Entry" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.EventSystems.EventTrigger/TriggerEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.AnimationTriggers" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.Button/ButtonClickedEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.ColorBlock" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.MaskableGraphic/CullStateChangedEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.Navigation" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.ScrollRect/ScrollRectEvent" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.SpriteState" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.UI.Toggle/ToggleEvent" preserve="nothing" serialized="true" />
+  </assembly>
+  <assembly fullname="UnityEngine.UIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Canvas" preserve="all" />
+    <type fullname="UnityEngine.CanvasGroup" preserve="all" />
+    <type fullname="UnityEngine.CanvasRenderer" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.TextCoreFontEngineModule">
+    <type fullname="UnityEngine.TextCore.FaceInfo" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.TextCore.Glyph" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.TextCore.GlyphMetrics" preserve="nothing" serialized="true" />
+    <type fullname="UnityEngine.TextCore.GlyphRect" preserve="nothing" serialized="true" />
+  </assembly>
 </linker>

BIN
public/unityPc/StreamingAssets/aa/WebGL/4d0b6aa8264949a568c452d2c79d8312.bundle


BIN
public/unityPc/StreamingAssets/aa/catalog.bin


+ 1 - 1
public/unityPc/StreamingAssets/aa/catalog.hash

@@ -1 +1 @@
-88ae2ca193aa6daea5b48440cb06f776
+69f93f75b6fe967b5f46a11f86e35afa

+ 50 - 50
public/unityPc/TemplateData/style.css

@@ -1,50 +1,50 @@
-html {}
-body { padding: 0; margin: 0 }
-#unity-container { position: fixed; width: 100%; height: 100%; }
-#unity-canvas { width: 100%; height: 100%; background:  url('bg.jpg') no-repeat center; background-size: cover; }
-#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
-#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
-#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
-#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
-
-@media all and (orientation: landscape) {
-    .landscape {
-        transform: rotate(0deg);
-        width: 100vw;
-        width: 100dvw;
-        height: 100vh;
-        height: 100dvh;
-        top: 0;
-        left: 0;
-    }
-    .portrait {
-        transform: rotate(90deg);
-        transform-origin: left top;
-        width: 100vh;
-        width: 100dvh;
-        height: 100vw;
-        height: 100dvw;
-        left: 100%;
-    }
-}
-
-@media all and (orientation: portrait) {
-    .landscape {
-        transform: rotate(90deg);
-        transform-origin: left top;
-        width: 100vh;
-        width: 100dvh;
-        height: 100vw;
-        height: 100dvw;
-        left: 100%;
-    }
-    .portrait {
-        transform: rotate(0deg);
-        width: 100vw;
-        width: 100dvw;
-        height: 100vh;
-        height: 100dvh;
-        top: 0;
-        left: 0;
-    }
-}
+html {}
+body { padding: 0; margin: 0 }
+#unity-container { position: fixed; width: 100%; height: 100%; }
+#unity-canvas { width: 100%; height: 100%; background:  url('bg.jpg') no-repeat center; background-size: cover; }
+#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
+#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
+#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
+#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
+
+@media all and (orientation: landscape) {
+    .landscape {
+        transform: rotate(0deg);
+        width: 100vw;
+        width: 100dvw;
+        height: 100vh;
+        height: 100dvh;
+        top: 0;
+        left: 0;
+    }
+    .portrait {
+        transform: rotate(90deg);
+        transform-origin: left top;
+        width: 100vh;
+        width: 100dvh;
+        height: 100vw;
+        height: 100dvw;
+        left: 100%;
+    }
+}
+
+@media all and (orientation: portrait) {
+    .landscape {
+        transform: rotate(90deg);
+        transform-origin: left top;
+        width: 100vh;
+        width: 100dvh;
+        height: 100vw;
+        height: 100dvw;
+        left: 100%;
+    }
+    .portrait {
+        transform: rotate(0deg);
+        width: 100vw;
+        width: 100dvw;
+        height: 100vh;
+        height: 100dvh;
+        top: 0;
+        left: 0;
+    }
+}

+ 56 - 56
public/unityPc/export_drawingBoard.js

@@ -1,57 +1,57 @@
-let saveDom = null;
-let isShowSaveDom = false;
-
-window.onDownload = function (base64string) {
-    if (window.isMobile()){
-        saveDom = document.querySelector('.save-image-background');
-        saveDom.src = 'data:image/png;base64,' + base64string;
-        saveDom.style.pointerEvents = 'auto';
-        isShowSaveDom = true;
-        refreshShareBlockSize();
-    } else {
-        let link = document.createElement('a');
-        link.href = 'data:image/png;base64,' + base64string;
-        link.download = 'image';
-        link.click();
-    }
-}
-
-window.onCancelDownload = function() {
-    if (isShowSaveDom){
-        saveDom.src = '';
-        saveDom.style.pointerEvents = 'none';
-        isShowSaveDom = false;
-    }
-}
-
-window.isMobile = function () {
-    return /(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i.test(navigator.userAgent);
-}
-
-function refreshShareBlockSize() {
-    // Unity画布宽高比
-    let unityCanvasWidth = 1515;
-    let unityCanvaslHeight = 780;
-    let unityPanelWidth = 1150;
-    let unityPanelHeight = 740;
-    let unityPanelOffsetY = 0;
-
-    let innerWidth = window.innerWidth;
-    let innerHeight = window.innerHeight;
-
-    let scale = (unityCanvasWidth / unityPanelHeight) >
-    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvaslHeight);
-
-    saveDom.style.width = (unityPanelWidth * scale) + 'px';
-    saveDom.style.height = (unityPanelHeight * scale) + 'px';
-
-    if (unityPanelOffsetY > 0){
-        saveDom.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
-    } else {
-        saveDom.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
-    }
-}
-
-window.addEventListener('resize', ()=>{
-    if (isShowSaveDom) refreshShareBlockSize();
+let saveDom = null;
+let isShowSaveDom = false;
+
+window.onDownload = function (base64string) {
+    if (window.isMobile()){
+        saveDom = document.querySelector('.save-image-background');
+        saveDom.src = 'data:image/png;base64,' + base64string;
+        saveDom.style.pointerEvents = 'auto';
+        isShowSaveDom = true;
+        refreshShareBlockSize();
+    } else {
+        let link = document.createElement('a');
+        link.href = 'data:image/png;base64,' + base64string;
+        link.download = 'image';
+        link.click();
+    }
+}
+
+window.onCancelDownload = function() {
+    if (isShowSaveDom){
+        saveDom.src = '';
+        saveDom.style.pointerEvents = 'none';
+        isShowSaveDom = false;
+    }
+}
+
+window.isMobile = function () {
+    return /(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i.test(navigator.userAgent);
+}
+
+function refreshShareBlockSize() {
+    // Unity画布宽高比
+    let unityCanvasWidth = 1515;
+    let unityCanvaslHeight = 780;
+    let unityPanelWidth = 1150;
+    let unityPanelHeight = 740;
+    let unityPanelOffsetY = 0;
+
+    let innerWidth = window.innerWidth;
+    let innerHeight = window.innerHeight;
+
+    let scale = (unityCanvasWidth / unityPanelHeight) >
+    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvaslHeight);
+
+    saveDom.style.width = (unityPanelWidth * scale) + 'px';
+    saveDom.style.height = (unityPanelHeight * scale) + 'px';
+
+    if (unityPanelOffsetY > 0){
+        saveDom.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
+    } else {
+        saveDom.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
+    }
+}
+
+window.addEventListener('resize', ()=>{
+    if (isShowSaveDom) refreshShareBlockSize();
 });

+ 46 - 46
public/unityPc/export_main.js

@@ -1,46 +1,46 @@
-let currentScene = 'TombstoneView'
-let isLoadingScene = false
-
-//场景加载进度回调
-window.loadSceneProgress = function (progress) {
-    if (window.parent && window.parent !== window) {
-        window.parent.unityLoading(Math.min(0.99, progress))
-    }
-}
-
-//场景准备加载回调
-window.startLoadScene = function () {
-    isLoadingScene = true
-}
-
-//场景已完成加载回调
-window.loadedScene = function () {
-    isLoadingScene = false
-    if (window.parent && window.parent !== window) {
-        window.parent.unityLoading(1)
-    }
-}
-
-//设置场景加载完毕时透明度渐变的时长(秒), 0为去除该效果
-window.setLoadSceneAnimationTime = function (animationTime) {
-    window.unityInstance.SendMessage('SceneLoader', 'SetAnimationTime', animationTime)
-}
-
-//切换场景 场景支持以下参数 "TombstoneView" (一单元), "TransitionScene" (空场景), "RoomScene" (碑中世界), "DrawingBoard" (碑影智绘), 切换之前必须判断是否有场景正在加载
-window.loadScene = function (sceneName) {
-    window.setLoadSceneAnimationTime(sceneName === 'DrawingBoard' ? 1 : 0)
-    window.unityInstance.SendMessage('SceneLoader', 'LoadScene', sceneName)
-    currentScene = sceneName
-
-    window.onCancelDownload();
-}
-
-//是否正在加载场景
-window.isLoadingScene = function () {
-    return isLoadingScene
-}
-
-// 返回当前场景状态
-window.sceneStaRes = function () {
-    return currentScene
-}
+let currentScene = 'TombstoneView'
+let isLoadingScene = false
+
+//场景加载进度回调
+window.loadSceneProgress = function (progress) {
+    if (window.parent && window.parent !== window) {
+        window.parent.unityLoading(Math.min(0.99, progress))
+    }
+}
+
+//场景准备加载回调
+window.startLoadScene = function () {
+    isLoadingScene = true
+}
+
+//场景已完成加载回调
+window.loadedScene = function () {
+    isLoadingScene = false
+    if (window.parent && window.parent !== window) {
+        window.parent.unityLoading(1)
+    }
+}
+
+//设置场景加载完毕时透明度渐变的时长(秒), 0为去除该效果
+window.setLoadSceneAnimationTime = function (animationTime) {
+    window.unityInstance.SendMessage('SceneLoader', 'SetAnimationTime', animationTime)
+}
+
+//切换场景 场景支持以下参数 "TombstoneView" (一单元), "TransitionScene" (空场景), "RoomScene" (碑中世界), "DrawingBoard" (碑影智绘), 切换之前必须判断是否有场景正在加载
+window.loadScene = function (sceneName) {
+    window.setLoadSceneAnimationTime(sceneName === 'DrawingBoard' ? 1 : 0)
+    window.unityInstance.SendMessage('SceneLoader', 'LoadScene', sceneName)
+    currentScene = sceneName
+
+    window.onCancelDownload();
+}
+
+//是否正在加载场景
+window.isLoadingScene = function () {
+    return isLoadingScene
+}
+
+// 返回当前场景状态
+window.sceneStaRes = function () {
+    return currentScene
+}

+ 69 - 69
public/unityPc/export_tombstoneView.js

@@ -1,70 +1,70 @@
-//当需要显示热点Tag的时候触发, 该函数为unity主动调用的函数
-window.showTag = function (index) {
-    if (window.parent && window.parent !== window) {
-        window.parent.showTag(index);
-    }
-}
-//当需要隐藏热点Tag的时候触发, 该函数为unity主动调用的函数
-window.hideTag = function () {
-    if (window.parent && window.parent !== window) {
-        window.parent.hideTag();
-    }
-}
-
-//当模型被操控的时候触发, 任何时候模型进行了移动/旋转/缩放, 都会触发这个函数, 包括主动调用addModelScale函数时, 该函数为unity主动调用的函数
-window.onModelControlled = function () {
-    if (window.parent && window.parent !== window) {
-        window.parent.onModelControlled();
-    }
-}
-
-//更新配置
-window.refreshAppSettings = function (json) {
-    window.unityInstance.SendMessage('MainCanvas', 'RefreshAppSettings', json)
-}
-
-//设置模型自动旋转, 0代表不自动旋转
-window.setModelAutoRotation = function(speed){
-    if (speed != 0) window.resetModel();
-    window.unityInstance.SendMessage('MainCanvas', 'SetModelAutoRotation', speed)
-}
-
-//切换背景图 (0目录页, 1玄石可观, 2石上春秋, 3碑刻密码, 4模型鉴赏) 这些名字对应的蓝湖设计的标题
-window.changePanel = function (index) {
-    window.unityInstance.SendMessage('MainCanvas', 'ChangePanel', index)
-}
-
-//聚焦热点, 对应玄石可观中的热点, 在调用之前需要先调用changPanel(1), 退出页面时需要调用showHotspot(-1)
-window.showHotspot = function (index) {
-    window.unityInstance.SendMessage('MainCanvas', 'ShowHotspot', index)
-}
-
-//聚焦碑文, 对应碑刻密码中的碑文, 在调用之前需要先调用changPanel(3), 退出页面时需要调用showInscription(-1)
-//参数分别对应 0碑额 1碑文第一段 2碑文第二段 3碑文第三段 10全文赏析
-window.showInscription = function (index) {
-    window.unityInstance.SendMessage('MainCanvas', 'ShowInscription', index)
-}
-
-//显示或隐藏碑文, 默认是显示状态, 离开页面时如果是隐藏状态, 则需要再次调用此函数让碑文显示
-window.openHightlight = function (isShow) {
-    window.unityInstance.SendMessage('MainCanvas', 'SetInscriptionActive', isShow ? 1 : 0)
-}
-
-//显示模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
-window.showSize = function () {
-    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 1)
-}
-//隐藏模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
-window.hideSize = function () {
-    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 0)
-}
-
-//改变模型缩放, 正数为放大, 负数为缩小, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的放大缩小按钮
-window.addModelScale = function (value) {
-    window.unityInstance.SendMessage('MainCanvas', 'AddModelScale', value)
-}
-
-//重置模型, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的重置按钮
-window.resetModel = function () {
-    window.unityInstance.SendMessage('MainCanvas', 'ResetModel')
+//当需要显示热点Tag的时候触发, 该函数为unity主动调用的函数
+window.showTag = function (index) {
+    if (window.parent && window.parent !== window) {
+        window.parent.showTag(index);
+    }
+}
+//当需要隐藏热点Tag的时候触发, 该函数为unity主动调用的函数
+window.hideTag = function () {
+    if (window.parent && window.parent !== window) {
+        window.parent.hideTag();
+    }
+}
+
+//当模型被操控的时候触发, 任何时候模型进行了移动/旋转/缩放, 都会触发这个函数, 包括主动调用addModelScale函数时, 该函数为unity主动调用的函数
+window.onModelControlled = function () {
+    if (window.parent && window.parent !== window) {
+        window.parent.onModelControlled();
+    }
+}
+
+//更新配置
+window.refreshAppSettings = function (json) {
+    window.unityInstance.SendMessage('MainCanvas', 'RefreshAppSettings', json)
+}
+
+//设置模型自动旋转, 0代表不自动旋转
+window.setModelAutoRotation = function(speed){
+    if (speed != 0) window.resetModel();
+    window.unityInstance.SendMessage('MainCanvas', 'SetModelAutoRotation', speed)
+}
+
+//切换背景图 (0目录页, 1玄石可观, 2石上春秋, 3碑刻密码, 4模型鉴赏) 这些名字对应的蓝湖设计的标题
+window.changePanel = function (index) {
+    window.unityInstance.SendMessage('MainCanvas', 'ChangePanel', index)
+}
+
+//聚焦热点, 对应玄石可观中的热点, 在调用之前需要先调用changPanel(1), 退出页面时需要调用showHotspot(-1)
+window.showHotspot = function (index) {
+    window.unityInstance.SendMessage('MainCanvas', 'ShowHotspot', index)
+}
+
+//聚焦碑文, 对应碑刻密码中的碑文, 在调用之前需要先调用changPanel(3), 退出页面时需要调用showInscription(-1)
+//参数分别对应 0碑额 1碑文第一段 2碑文第二段 3碑文第三段 10全文赏析
+window.showInscription = function (index) {
+    window.unityInstance.SendMessage('MainCanvas', 'ShowInscription', index)
+}
+
+//显示或隐藏碑文, 默认是显示状态, 离开页面时如果是隐藏状态, 则需要再次调用此函数让碑文显示
+window.openHightlight = function (isShow) {
+    window.unityInstance.SendMessage('MainCanvas', 'SetInscriptionActive', isShow ? 1 : 0)
+}
+
+//显示模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
+window.showSize = function () {
+    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 1)
+}
+//隐藏模型尺寸(待定) 对应蓝湖设计 "文物鉴赏-尺寸"
+window.hideSize = function () {
+    window.unityInstance.SendMessage('MainCanvas', 'SetSizeActive', 0)
+}
+
+//改变模型缩放, 正数为放大, 负数为缩小, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的放大缩小按钮
+window.addModelScale = function (value) {
+    window.unityInstance.SendMessage('MainCanvas', 'AddModelScale', value)
+}
+
+//重置模型, 对应蓝湖设计 "文物鉴赏-尺寸" 右侧的重置按钮
+window.resetModel = function () {
+    window.unityInstance.SendMessage('MainCanvas', 'ResetModel')
 }

+ 11 - 10
public/unityPc/index.css

@@ -1,11 +1,12 @@
-.save-image-block {
-    position: absolute;
-    top: 50%;
-    left: 50%;
-    transform: translate(-50%, -50%);
-}
-
-.save-image-background {
-    opacity: 0;
-    pointer-events: none;
+.save-image-block {
+    position: absolute;
+    top: 50%;
+    left: 50%;
+    transform: translate(-50%, -50%);
+    pointer-events: none;
+}
+
+.save-image-background {
+    opacity: 0;
+    pointer-events: none;
 }

+ 121 - 121
public/unityPc/index.html

@@ -1,122 +1,122 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <title>Chenzhebei-ShanxiMuseum</title>
-    <link rel="shortcut icon" href="TemplateData/favicon.ico">
-    <link rel="stylesheet" href="index.css">
-    <link rel="stylesheet" href="TemplateData/style.css">
-    <script src="./export_main.js"></script>
-    <script src="./export_tombstoneView.js"></script>
-    <script src="./export_roomScene.js"></script>
-    <script src="./export_drawingBoard.js"></script>
-</head>
-<body>
-    <div id="unity-container">
-        <canvas id="unity-canvas" width=960 height=600 tabindex="-1"></canvas>
-        <div id="unity-loading-bar">
-            <div id="unity-progress-bar-empty">
-                <div id="unity-progress-bar-full"></div>
-            </div>
-        </div>
-        <div id="unity-warning"></div>
-
-        <div class="save-image-block">
-            <img src="" class="save-image-background" alt="">
-        </div>
-    </div>
-</body>
-<script>
-
-    var container = document.querySelector("#unity-container");
-    var canvas = document.querySelector("#unity-canvas");
-    var loadingBar = document.querySelector("#unity-loading-bar");
-    var progressBarFull = document.querySelector("#unity-progress-bar-full");
-    var warningBanner = document.querySelector("#unity-warning");
-
-    // Shows a temporary message banner/ribbon for a few seconds, or
-    // a permanent error message on top of the canvas if type=='error'.
-    // If type=='warning', a yellow highlight color is used.
-    // Modify or remove this function to customize the visually presented
-    // way that non-critical warnings and error messages are presented to the
-    // user.
-    function unityShowBanner(msg, type) {
-        function updateBannerVisibility() {
-            warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
-        }
-        var div = document.createElement('div');
-        div.innerHTML = msg;
-        warningBanner.appendChild(div);
-        if (type == 'error') div.style = 'background: red; padding: 10px;';
-        else {
-            if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
-            setTimeout(function () {
-                warningBanner.removeChild(div);
-                updateBannerVisibility();
-            }, 5000);
-        }
-        updateBannerVisibility();
-    }
-
-    var buildUrl = "Build";
-    var loaderUrl = buildUrl + "/Build.loader.js";
-    var config = {
-        dataUrl: buildUrl + "/Build.data.unityweb",
-        frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
-        codeUrl: buildUrl + "/Build.wasm.unityweb",
-        streamingAssetsUrl: "StreamingAssets",
-        devicePixelRatio: 2,
-        companyName: "FDage",
-        productName: "Chenzhebei-ShanxiMuseum",
-        productVersion: "0.1",
-        showBanner: unityShowBanner,
-    };
-
-    // By default Unity keeps WebGL canvas render target size matched with
-    // the DOM size of the canvas element (scaled by window.devicePixelRatio)
-    // Set this to false if you want to decouple this synchronization from
-    // happening inside the engine, and you would instead like to size up
-    // the canvas DOM size and WebGL render target sizes yourself.
-    // config.matchWebGLToCanvasSize = false;
-
-    if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
-        // Mobile device style: fill the whole browser client area with the game canvas:
-        var meta = document.createElement('meta');
-        meta.name = 'viewport';
-        meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
-        document.getElementsByTagName('head')[0].appendChild(meta);
-        document.querySelector("#unity-container").className = "unity-mobile";
-        canvas.className = "unity-mobile";
-
-        // To lower canvas resolution on mobile devices to gain some
-        // performance, uncomment the following line:
-        // config.devicePixelRatio = 1;
-    }
-
-
-
-loadingBar.style.display = "block";
-    var script = document.createElement("script");
-    script.src = loaderUrl;
-    script.onload = () => {
-        createUnityInstance(canvas, config, (progress) => {
-            if (window.parent && window.parent !== window) {
-                window.parent.unityLoading(progress);
-            }
-            progressBarFull.style.width = 100 * progress + "%";
-        }).then((unityInstance) => {
-            loadingBar.style.display = "none";
-            window.unityInstance = unityInstance;
-
-            if (window.parent && window.parent !== window) {
-                window.parent.unityLoading(1);
-            }
-        }).catch((message) => {
-            alert(message);
-        });
-    };
-    document.body.appendChild(script);
-</script>
-
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Chenzhebei-ShanxiMuseum</title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+    <link rel="stylesheet" href="index.css">
+    <link rel="stylesheet" href="TemplateData/style.css">
+    <script src="./export_main.js"></script>
+    <script src="./export_tombstoneView.js"></script>
+    <script src="./export_roomScene.js"></script>
+    <script src="./export_drawingBoard.js"></script>
+</head>
+<body>
+    <div id="unity-container">
+        <canvas id="unity-canvas" width=960 height=600 tabindex="-1"></canvas>
+        <div id="unity-loading-bar">
+            <div id="unity-progress-bar-empty">
+                <div id="unity-progress-bar-full"></div>
+            </div>
+        </div>
+        <div id="unity-warning"></div>
+
+        <div class="save-image-block">
+            <img src="" class="save-image-background" alt="">
+        </div>
+    </div>
+</body>
+<script>
+
+    var container = document.querySelector("#unity-container");
+    var canvas = document.querySelector("#unity-canvas");
+    var loadingBar = document.querySelector("#unity-loading-bar");
+    var progressBarFull = document.querySelector("#unity-progress-bar-full");
+    var warningBanner = document.querySelector("#unity-warning");
+
+    // Shows a temporary message banner/ribbon for a few seconds, or
+    // a permanent error message on top of the canvas if type=='error'.
+    // If type=='warning', a yellow highlight color is used.
+    // Modify or remove this function to customize the visually presented
+    // way that non-critical warnings and error messages are presented to the
+    // user.
+    function unityShowBanner(msg, type) {
+        function updateBannerVisibility() {
+            warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
+        }
+        var div = document.createElement('div');
+        div.innerHTML = msg;
+        warningBanner.appendChild(div);
+        if (type == 'error') div.style = 'background: red; padding: 10px;';
+        else {
+            if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
+            setTimeout(function () {
+                warningBanner.removeChild(div);
+                updateBannerVisibility();
+            }, 5000);
+        }
+        updateBannerVisibility();
+    }
+
+    var buildUrl = "Build";
+    var loaderUrl = buildUrl + "/Build.loader.js";
+    var config = {
+        dataUrl: buildUrl + "/Build.data.unityweb",
+        frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
+        codeUrl: buildUrl + "/Build.wasm.unityweb",
+        streamingAssetsUrl: "StreamingAssets",
+        devicePixelRatio: 2,
+        companyName: "FDage",
+        productName: "Chenzhebei-ShanxiMuseum",
+        productVersion: "0.1",
+        showBanner: unityShowBanner,
+    };
+
+    // By default Unity keeps WebGL canvas render target size matched with
+    // the DOM size of the canvas element (scaled by window.devicePixelRatio)
+    // Set this to false if you want to decouple this synchronization from
+    // happening inside the engine, and you would instead like to size up
+    // the canvas DOM size and WebGL render target sizes yourself.
+    // config.matchWebGLToCanvasSize = false;
+
+    if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
+        // Mobile device style: fill the whole browser client area with the game canvas:
+        var meta = document.createElement('meta');
+        meta.name = 'viewport';
+        meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
+        document.getElementsByTagName('head')[0].appendChild(meta);
+        document.querySelector("#unity-container").className = "unity-mobile";
+        canvas.className = "unity-mobile";
+
+        // To lower canvas resolution on mobile devices to gain some
+        // performance, uncomment the following line:
+        // config.devicePixelRatio = 1;
+    }
+
+
+
+loadingBar.style.display = "block";
+    var script = document.createElement("script");
+    script.src = loaderUrl;
+    script.onload = () => {
+        createUnityInstance(canvas, config, (progress) => {
+            if (window.parent && window.parent !== window) {
+                window.parent.unityLoading(progress);
+            }
+            progressBarFull.style.width = 100 * progress + "%";
+        }).then((unityInstance) => {
+            loadingBar.style.display = "none";
+            window.unityInstance = unityInstance;
+
+            if (window.parent && window.parent !== window) {
+                window.parent.unityLoading(1);
+            }
+        }).catch((message) => {
+            alert(message);
+        });
+    };
+    document.body.appendChild(script);
+</script>
+
 </html>

+ 111 - 111
public/unityPc/main.html

@@ -1,111 +1,111 @@
-<!DOCTYPE html>
-<html lang="zh-CN">
-  <head>
-    <meta charset="utf-8">
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Chenzhebei-ShanxiMuseum</title>
-    <link rel="shortcut icon" href="TemplateData/favicon.ico">
-      <style>
-        * {
-          margin: 0;
-          padding: 0;
-          box-sizing: border-box;
-        }
-
-        body {
-          overflow: hidden;
-        }
-
-        .root {
-          position: absolute;
-        }
-
-        iframe {
-          width: 100%;
-          height: 100%;
-        }
-
-        @media all and (orientation: landscape) {
-          .landscape {
-            transform: rotate(0deg);
-            width: 100vw;
-            width: 100dvw;
-            height: 100vh;
-            height: 100dvh;
-            top: 0;
-            left: 0;
-          }
-          .portrait {
-            transform: rotate(90deg);
-            transform-origin: left top;
-            width: 100vh;
-            width: 100dvh;
-            height: 100vw;
-            height: 100dvw;
-            left: 100%;
-          }
-        }
-        
-        @media all and (orientation: portrait) {
-          .landscape {
-            transform: rotate(90deg);
-            transform-origin: left top;
-            width: 100vh;
-            width: 100dvh;
-            height: 100vw;
-            height: 100dvw;
-            left: 100%;
-          }
-          .portrait {
-            transform: rotate(0deg);
-            width: 100vw;
-            width: 100dvw;
-            height: 100vh;
-            height: 100dvh;
-            top: 0;
-            left: 0;
-          }
-        }
-      </style>
-  </head>
-  <body>
-    <div class="root">
-      <iframe
-        id="main"
-        frameborder="0">
-      </iframe>
-    </div>
-  </body>
-  <script>
-    const rootDom = document.querySelector('.root')
-    const iframe = document.querySelector('#main')
-    let isPortrait = false;
-
-    function internal_ChangeViewType(portrait){
-      if(portrait){
-        rootDom.classList.remove('landscape');
-        rootDom.classList.add('portrait');
-      }else{
-        rootDom.classList.add('landscape');
-        rootDom.classList.remove('portrait');
-      }
-    }
-    
-    window.changeViewType = function(landscape){
-      if (isPortrait !== landscape){
-        isPortrait = landscape;
-        internal_ChangeViewType(landscape);
-      }
-    }
-    internal_ChangeViewType(isPortrait);
-    
-    window.onUnityClickBack = function () {
-        if (window.parent && window.parent !== window) {
-            window.parent.onUnityClickBack();
-        }
-    }
-    
-    iframe.src = "./main.html"
-  </script>
-</html>
+<!DOCTYPE html>
+<html lang="zh-CN">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Chenzhebei-ShanxiMuseum</title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+      <style>
+        * {
+          margin: 0;
+          padding: 0;
+          box-sizing: border-box;
+        }
+
+        body {
+          overflow: hidden;
+        }
+
+        .root {
+          position: absolute;
+        }
+
+        iframe {
+          width: 100%;
+          height: 100%;
+        }
+
+        @media all and (orientation: landscape) {
+          .landscape {
+            transform: rotate(0deg);
+            width: 100vw;
+            width: 100dvw;
+            height: 100vh;
+            height: 100dvh;
+            top: 0;
+            left: 0;
+          }
+          .portrait {
+            transform: rotate(90deg);
+            transform-origin: left top;
+            width: 100vh;
+            width: 100dvh;
+            height: 100vw;
+            height: 100dvw;
+            left: 100%;
+          }
+        }
+        
+        @media all and (orientation: portrait) {
+          .landscape {
+            transform: rotate(90deg);
+            transform-origin: left top;
+            width: 100vh;
+            width: 100dvh;
+            height: 100vw;
+            height: 100dvw;
+            left: 100%;
+          }
+          .portrait {
+            transform: rotate(0deg);
+            width: 100vw;
+            width: 100dvw;
+            height: 100vh;
+            height: 100dvh;
+            top: 0;
+            left: 0;
+          }
+        }
+      </style>
+  </head>
+  <body>
+    <div class="root">
+      <iframe
+        id="main"
+        frameborder="0">
+      </iframe>
+    </div>
+  </body>
+  <script>
+    const rootDom = document.querySelector('.root')
+    const iframe = document.querySelector('#main')
+    let isPortrait = false;
+
+    function internal_ChangeViewType(portrait){
+      if(portrait){
+        rootDom.classList.remove('landscape');
+        rootDom.classList.add('portrait');
+      }else{
+        rootDom.classList.add('landscape');
+        rootDom.classList.remove('portrait');
+      }
+    }
+    
+    window.changeViewType = function(landscape){
+      if (isPortrait !== landscape){
+        isPortrait = landscape;
+        internal_ChangeViewType(landscape);
+      }
+    }
+    internal_ChangeViewType(isPortrait);
+    
+    window.onUnityClickBack = function () {
+        if (window.parent && window.parent !== window) {
+            window.parent.onUnityClickBack();
+        }
+    }
+    
+    iframe.src = "./main.html"
+  </script>
+</html>