This commit is contained in:
高国正 2023-07-27 17:36:05 +08:00
parent 17073b9ece
commit 7151bdf46b
5018 changed files with 409125 additions and 33916 deletions

View File

@ -22,7 +22,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\Bin\Debug\</OutputPath>
<DefineConstants>UNITY_2021_3_2;UNITY_2021_3;UNITY_2021;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_2020_1_OR_NEWER;UNITY_2020_2_OR_NEWER;UNITY_2020_3_OR_NEWER;UNITY_2021_1_OR_NEWER;UNITY_2021_2_OR_NEWER;UNITY_2021_3_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;USE_SEARCH_ENGINE_API;USE_SEARCH_TABLE;USE_SEARCH_MODULE;USE_PROPERTY_DATABASE;USE_SEARCH_EXTENSION_API;SCENE_TEMPLATE_MODULE;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_MANAGED_UNITYTLS;INCLUDE_DYNAMIC_GI;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;ENABLE_ACCELERATOR_CLIENT_DEBUGGING;PLATFORM_STANDALONE;TEXTCORE_1_0_OR_NEWER;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_NVIDIA;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_4_6;NET_UNITY_4_8;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_IG;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<DefineConstants>UNITY_2021_3_2;UNITY_2021_3;UNITY_2021;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_2020_1_OR_NEWER;UNITY_2020_2_OR_NEWER;UNITY_2020_3_OR_NEWER;UNITY_2021_1_OR_NEWER;UNITY_2021_2_OR_NEWER;UNITY_2021_3_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;USE_SEARCH_ENGINE_API;USE_SEARCH_TABLE;USE_SEARCH_MODULE;USE_PROPERTY_DATABASE;USE_SEARCH_EXTENSION_API;SCENE_TEMPLATE_MODULE;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_MANAGED_UNITYTLS;INCLUDE_DYNAMIC_GI;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;ENABLE_ACCELERATOR_CLIENT_DEBUGGING;PLATFORM_STANDALONE;TEXTCORE_1_0_OR_NEWER;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_NVIDIA;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_4_6;NET_UNITY_4_8;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_IG;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;UNITY_POST_PROCESSING_STACK_V2;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
@ -321,6 +321,9 @@
<Reference Include="UnityEditor.Graphs">
<HintPath>E:\Unity\2021.3.2f1c1\Editor\Data\Managed\UnityEditor.Graphs.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.WebGL.Extensions">
<HintPath>E:\Unity\2021.3.2f1c1\Editor\Data\PlaybackEngines\WebGLSupport\UnityEditor.WebGL.Extensions.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.WindowsStandalone.Extensions">
<HintPath>E:\Unity\2021.3.2f1c1\Editor\Data\PlaybackEngines\WindowsStandaloneSupport\UnityEditor.WindowsStandalone.Extensions.dll</HintPath>
</Reference>
@ -1035,8 +1038,8 @@
<Reference Include="Unity.VisualScripting.SettingsProvider.Editor">
<HintPath>Library\ScriptAssemblies\Unity.VisualScripting.SettingsProvider.Editor.dll</HintPath>
</Reference>
<Reference Include="Unity.VisualScripting.Flow">
<HintPath>Library\ScriptAssemblies\Unity.VisualScripting.Flow.dll</HintPath>
<Reference Include="Unity.Postprocessing.Editor">
<HintPath>Library\ScriptAssemblies\Unity.Postprocessing.Editor.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.UI">
<HintPath>Library\ScriptAssemblies\UnityEditor.UI.dll</HintPath>
@ -1050,6 +1053,9 @@
<Reference Include="Unity.RenderPipelines.Core.ShaderLibrary">
<HintPath>Library\ScriptAssemblies\Unity.RenderPipelines.Core.ShaderLibrary.dll</HintPath>
</Reference>
<Reference Include="Unity.VisualScripting.Flow">
<HintPath>Library\ScriptAssemblies\Unity.VisualScripting.Flow.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>Library\ScriptAssemblies\UnityEngine.UI.dll</HintPath>
</Reference>
@ -1071,6 +1077,9 @@
<Reference Include="Unity.Burst">
<HintPath>Library\ScriptAssemblies\Unity.Burst.dll</HintPath>
</Reference>
<Reference Include="Unity.Postprocessing.Runtime">
<HintPath>Library\ScriptAssemblies\Unity.Postprocessing.Runtime.dll</HintPath>
</Reference>
<Reference Include="Unity.RenderPipelines.Universal.Editor">
<HintPath>Library\ScriptAssemblies\Unity.RenderPipelines.Universal.Editor.dll</HintPath>
</Reference>

View File

@ -22,7 +22,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\Bin\Debug\</OutputPath>
<DefineConstants>UNITY_2021_3_2;UNITY_2021_3;UNITY_2021;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_2020_1_OR_NEWER;UNITY_2020_2_OR_NEWER;UNITY_2020_3_OR_NEWER;UNITY_2021_1_OR_NEWER;UNITY_2021_2_OR_NEWER;UNITY_2021_3_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;USE_SEARCH_ENGINE_API;USE_SEARCH_TABLE;USE_SEARCH_MODULE;USE_PROPERTY_DATABASE;USE_SEARCH_EXTENSION_API;SCENE_TEMPLATE_MODULE;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_MANAGED_UNITYTLS;INCLUDE_DYNAMIC_GI;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;ENABLE_ACCELERATOR_CLIENT_DEBUGGING;PLATFORM_STANDALONE;TEXTCORE_1_0_OR_NEWER;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_NVIDIA;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;NET_STANDARD;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_IG;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<DefineConstants>UNITY_2021_3_2;UNITY_2021_3;UNITY_2021;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2019_1_OR_NEWER;UNITY_2019_2_OR_NEWER;UNITY_2019_3_OR_NEWER;UNITY_2019_4_OR_NEWER;UNITY_2020_1_OR_NEWER;UNITY_2020_2_OR_NEWER;UNITY_2020_3_OR_NEWER;UNITY_2021_1_OR_NEWER;UNITY_2021_2_OR_NEWER;UNITY_2021_3_OR_NEWER;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;USE_SEARCH_ENGINE_API;USE_SEARCH_TABLE;USE_SEARCH_MODULE;USE_PROPERTY_DATABASE;USE_SEARCH_EXTENSION_API;SCENE_TEMPLATE_MODULE;ENABLE_AR;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_EVENT_QUEUE;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_TEXTURE_STREAMING;ENABLE_VIRTUALTEXTURING;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_UNITYWEBREQUEST;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;ENABLE_MANAGED_AUDIO_JOBS;ENABLE_MANAGED_UNITYTLS;INCLUDE_DYNAMIC_GI;ENABLE_SCRIPTING_GC_WBARRIERS;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_VIDEO;ENABLE_ACCELERATOR_CLIENT_DEBUGGING;PLATFORM_STANDALONE;TEXTCORE_1_0_OR_NEWER;PLATFORM_STANDALONE_WIN;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_NVIDIA;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;PLATFORM_UPDATES_TIME_OUTSIDE_OF_PLAYER_LOOP;GFXDEVICE_WAITFOREVENT_MESSAGEPUMP;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;NET_STANDARD;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_IG;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_DIRECTOR;ENABLE_LOCALIZATION;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_TILEMAP;ENABLE_TIMELINE;ENABLE_LEGACY_INPUT_MANAGER;UNITY_POST_PROCESSING_STACK_V2;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
@ -67,9 +67,12 @@
<Compile Include="Assets\Demigiant\DOTweenPro\DOTweenTk2d.cs" />
<Compile Include="Assets\Demigiant\DOTween\Modules\DOTweenModuleUnityVersion.cs" />
<Compile Include="Assets\Demigiant\DOTween\Modules\DOTweenModuleUtils.cs" />
<Compile Include="Assets\script\加密\KeyGenerator.cs" />
<Compile Include="Assets\script\热力图\HeatMapPoints.cs" />
<Compile Include="Assets\script\透明\BaseWallControlTwo.cs" />
<Compile Include="Assets\script\UI\PatternChoose.cs" />
<Compile Include="Assets\TutorialInfo\Scripts\Readme.cs" />
<Compile Include="Assets\script\画线\CreateLine.cs" />
<Compile Include="Assets\script\点击\ClickEvent.cs" />
<Compile Include="Assets\script\透明\TransparentGlowManage.cs" />
<Compile Include="Assets\Demigiant\DOTween\Modules\DOTweenModulePhysics.cs" />
@ -78,9 +81,9 @@
<Compile Include="Assets\Scripts\HeatMapFactor.cs" />
<Compile Include="Assets\Demigiant\DOTween\Modules\DOTweenModuleUI.cs" />
<Compile Include="Assets\Demigiant\DOTween\Modules\DOTweenModuleAudio.cs" />
<Compile Include="Assets\script\加密\KeyGenerator.cs" />
<Compile Include="Assets\script\DrawLine.cs" />
<Compile Include="Assets\script\UI\PatternChoose.cs" />
<Compile Include="Assets\script\画线\LineInfor.cs" />
<Compile Include="Assets\script\设备信息\DeviceInfor.cs" />
<Compile Include="Assets\script\设备信息\Device.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Assets\Shaders\HeatMapShader.shader" />
@ -88,6 +91,7 @@
<None Include="Assets\Demigiant\readme_DOTweenPro.txt" />
<None Include="Assets\Demigiant\DOTween\DOTween.XML" />
<None Include="Assets\Demigiant\DemiLib\Core\DemiLib.dll" />
<None Include="Assets\Resources\ui.shader" />
<None Include="Assets\Demigiant\DOTween\DOTween.dll" />
<None Include="Assets\Shaders\MetallBallHeatMapShader.shader" />
<None Include="Assets\Demigiant\DOTweenPro\DOTweenPro.dll" />
@ -782,8 +786,8 @@
<Reference Include="Unity.VisualScripting.SettingsProvider.Editor">
<HintPath>Library\ScriptAssemblies\Unity.VisualScripting.SettingsProvider.Editor.dll</HintPath>
</Reference>
<Reference Include="Unity.VisualScripting.Flow">
<HintPath>Library\ScriptAssemblies\Unity.VisualScripting.Flow.dll</HintPath>
<Reference Include="Unity.Postprocessing.Editor">
<HintPath>Library\ScriptAssemblies\Unity.Postprocessing.Editor.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.UI">
<HintPath>Library\ScriptAssemblies\UnityEditor.UI.dll</HintPath>
@ -797,6 +801,9 @@
<Reference Include="Unity.RenderPipelines.Core.ShaderLibrary">
<HintPath>Library\ScriptAssemblies\Unity.RenderPipelines.Core.ShaderLibrary.dll</HintPath>
</Reference>
<Reference Include="Unity.VisualScripting.Flow">
<HintPath>Library\ScriptAssemblies\Unity.VisualScripting.Flow.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>Library\ScriptAssemblies\UnityEngine.UI.dll</HintPath>
</Reference>
@ -818,6 +825,9 @@
<Reference Include="Unity.Burst">
<HintPath>Library\ScriptAssemblies\Unity.Burst.dll</HintPath>
</Reference>
<Reference Include="Unity.Postprocessing.Runtime">
<HintPath>Library\ScriptAssemblies\Unity.Postprocessing.Runtime.dll</HintPath>
</Reference>
<Reference Include="Unity.RenderPipelines.Universal.Editor">
<HintPath>Library\ScriptAssemblies\Unity.RenderPipelines.Universal.Editor.dll</HintPath>
</Reference>

View File

@ -110,7 +110,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.19811317, g: 0.19811317, b: 0.19811317, a: 1}
- _Color: {r: 0.19811314, g: 0.19811314, b: 0.19811314, a: 1}
- _Color: {r: 0.19811317, g: 0.19811317, b: 0.19811317, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -122,7 +122,7 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.745283, g: 0.7410644, b: 0.7410644, a: 1}
- _Color: {r: 0.745283, g: 0.74106437, b: 0.74106437, a: 1}
- _Color: {r: 0.745283, g: 0.7410644, b: 0.7410644, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -112,7 +112,7 @@ Material:
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.4800958, g: 0.4800958, b: 0.4800958, a: 0.52991533}
- _Color: {r: 0.48009574, g: 0.48009574, b: 0.48009574, a: 0.52991533}
- _Color: {r: 0.4800958, g: 0.4800958, b: 0.4800958, a: 0.52991533}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,135 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: emission
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _ColorMask: 15
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0, g: 0.74509805, b: 1, a: 1}
- _Color: {r: 0, g: 0.74509805, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 1.1353015, b: 1.1353015, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
--- !u!114 &4586313418104410923
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 38514db7389a60c48b975c7fe96a073c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,98 @@
Shader "Unlit/ui"
{
Properties
{
[PerRendererData] _MainTex("Font Texture", 2D) = "white" {}
_Color("Tint", Color) = (1,1,1,1)
_StencilComp("Stencil Comparison", Float) = 8
_Stencil("Stencil ID", Float) = 0
_StencilOp("Stencil Operation", Float) = 0
_StencilWriteMask("Stencil Write Mask", Float) = 255
_StencilReadMask("Stencil Read Mask", Float) = 255
_ColorMask("Color Mask", Float) = 15
}
SubShader
{
LOD 100
Tags
{
"Queue" = "Transparent"
"IgnoreProjector" = "True"
"RenderType" = "Transparent"
"PreviewType" = "Plane"
"CanUseSpriteAtlas" = "True"
}
Stencil
{
Ref[_Stencil]
Comp[_StencilComp]
Pass[_StencilOp]
ReadMask[_StencilReadMask]
WriteMask[_StencilWriteMask]
}
Cull Off
Lighting Off
ZWrite Off
ZTest Always
Blend SrcAlpha OneMinusSrcAlpha
ColorMask[_ColorMask]
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
#include "UnityUI.cginc"
struct appdata_t
{
float4 vertex : POSITION;
float2 texcoord : TEXCOORD0;
float4 color : COLOR;
};
struct v2f
{
float4 vertex : SV_POSITION;
half2 texcoord : TEXCOORD0;
fixed4 color : COLOR;
};
sampler2D _MainTex;
float4 _MainTex_ST;
fixed4 _Color;
fixed4 _TextureSampleAdd;
v2f vert(appdata_t v)
{
v2f o;
o.vertex = UnityObjectToClipPos(v.vertex);
o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex);
o.color = v.color * _Color;
#ifdef UNITY_HALF_TEXEL_OFFSET
o.vertex.xy += (_ScreenParams.zw - 1.0) * float2(-1,1);
#endif
return o;
}
fixed4 frag(v2f i) : SV_Target
{
fixed4 col = (tex2D(_MainTex, i.texcoord) + _TextureSampleAdd) * i.color;
clip(col.a - 0.01);
return col;
}
ENDCG
}
}
}

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 15e653a07656519408aebb3aa09a83c6
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
preprocessorOverride: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1041916dacb57f5458cccf960c715431
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,98 @@
fileFormatVersion: 2
guid: 2bed5d04c51f7a248b878652717ae360
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1
seamlessCubemap: 1
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 0
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 2
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 100
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b30f841d4e4fbd54ba16e8d98a7617f3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7241242b578211d4ba38059b7b1b8125
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -3,7 +3,7 @@ guid: bcc9d41cd578b164baf845cf231d8781
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 05563e4f73f92fe489a8104e911843fa
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: c4dde533ffc4b944b9852598e39cdbd4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: e4ea6ca76a8d98f4aa0db7404b93b78b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 65b911eebe0bebb44b12da10b0eea9bf
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 8c394dea7abec0a47966f9a063e16215
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: f1a0f88ba8f9d514f8a41e203dc0a1c7
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 6ebe876fcbe6c3a4bb546103e3e12b7f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: eb654819bdbc42b4e99dbf3846928dd5
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: efbcd799985aedf499e1b3ff4bf64f0e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 612a3ada6437dec44bdcfafe78439a81
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 7089d6538eeebbf4b881b76695b02e38
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: f9a2e17cca73a2f40be59e269f925d76
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 34e87f28272e0244fb16b12ce0b0de46
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 4b921021fa3d77b4d9f01d91cfd10d45
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 429f0b0e172e54444be14c826c2052c4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: eed5fa575f6eaaa4da14c57aa3b1e4d4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: fb392e9d854b9fa4eac6620e4d123dc5
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 42e06a87fd6acea43bf4979abfe3df69
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 936909d1bb0b2c6408cc32f1d9dda4fd
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: 3334d5c04da61b1408479912cb90bd69
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -3,7 +3,7 @@ guid: ce8dd506734d181479c63c30c25920ef
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
@ -24,6 +24,7 @@ TextureImporter:
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
@ -62,7 +63,6 @@ TextureImporter:
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
@ -101,6 +101,7 @@ TextureImporter:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0

View File

@ -27,6 +27,9 @@ MonoBehaviour:
m_SupportsHDR: 1
m_MSAA: 4
m_RenderScale: 1
m_UpscalingFilter: 0
m_FsrOverrideSharpness: 0
m_FsrSharpness: 0.92
m_MainLightRenderingMode: 1
m_MainLightShadowsSupported: 1
m_MainLightShadowmapResolution: 4096
@ -48,6 +51,8 @@ MonoBehaviour:
m_ShadowDepthBias: 1
m_ShadowNormalBias: 1
m_SoftShadowsSupported: 1
m_ConservativeEnclosingSphere: 0
m_NumIterationsEnclosingSphere: 64
m_AdditionalLightsCookieResolution: 4096
m_AdditionalLightsCookieFormat: 4
m_UseSRPBatcher: 1

View File

@ -1,39 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DrawLine : MonoBehaviour
{
public GameObject startObject; // 起始物体
public GameObject endObject; // 结束物体
public float lineWidth = 0.1f; // 线的粗细
public Color lineColor = Color.white; // 线的颜色
private LineRenderer lineRenderer; // LineRenderer 组件
void Start()
{
lineRenderer = gameObject.AddComponent<LineRenderer>();
lineRenderer.material = new Material(Shader.Find("Sprites/Default"));
lineRenderer.startWidth = lineWidth;
lineRenderer.endWidth = lineWidth;
lineRenderer.startColor = lineColor;
lineRenderer.endColor = lineColor;
UpdateLine();
}
void Update()
{
UpdateLine();
}
void UpdateLine()
{
if (startObject != null && endObject != null)
{
lineRenderer.positionCount = 2;
lineRenderer.SetPositions(new Vector3[] { startObject.transform.position, endObject.transform.position });
}
}
}

View File

@ -1,17 +1,18 @@
using DG.Tweening;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[AddComponentMenu("PatternChoose/模式选择")]
[AddComponentMenu("PatternChoose/模式选择")]
public class PatternChoose : MonoBehaviour
{
public Button TS_button;
public Button RL_button;
/// <summary>
/// 热力效果图
/// 热力效果图
/// </summary>
public GameObject heatMap;
// Start is called before the first frame update
@ -42,7 +43,7 @@ public class PatternChoose : MonoBehaviour
Camera.main.transform.DOMove(/*TransparentGlowManage.Inst.MainCamera_pos*/init_pos, 1f);
Camera.main.transform.DORotateQuaternion(Quaternion.Euler(/*TransparentGlowManage.Inst.MainCamera_rot*/init_rot), 1f).OnComplete(() =>
{
//更新相机初始旋转角度
//更新相机初始旋转角度
ExtendedFlycam.Inst.initialRotationEulerAngles = Camera.main.transform.localEulerAngles;
});
TransparentGlowManage.Inst.renewALL();
@ -55,7 +56,7 @@ public class PatternChoose : MonoBehaviour
Camera.main.transform.DOMove(/*TransparentGlowManage.Inst.MainCamera_pos*/init_pos, 1f);
Camera.main.transform.DORotateQuaternion(Quaternion.Euler(/*TransparentGlowManage.Inst.MainCamera_rot*/init_rot), 1f).OnComplete(() =>
{
//更新相机初始旋转角度
//更新相机初始旋转角度
ExtendedFlycam.Inst.initialRotationEulerAngles = Camera.main.transform.localEulerAngles;
});
TransparentGlowManage.Inst.renewALL();

View File

@ -5,53 +5,53 @@ using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
[AddComponentMenu("EncryptionScript/密钥")]
[AddComponentMenu("EncryptionScript/密钥")]
public class EncryptionScript : MonoBehaviour
{
public string encryptionKey = "defaultKey";
private string url_key = "http://172.16.1.253:8087/priceRule.json";
[SerializeField] private string inputKey = null;
/// <summary>
/// 密钥是否过期
/// 密钥是否过期
/// </summary>
public static bool isOverdueKey = true;
/// <summary>
/// 密钥运行时间
/// 密钥运行时间
/// </summary>
private float elapsedTime = 0;
/// <summary>
/// 密钥有效时间
/// 密钥有效时间
/// </summary>
private float averageSecondsInMonth = 5270400f;
private /*async*/ void Start()
{
//await GetKey();//读取JSON获取密钥
//await GetKey();//读取JSON获取密钥
encryptionKey = (KeyGenerator.GenerateKey("123"));
averageSecondsInMonth = 5f;
}
private /*async*/ void Update()
{
// 等待用户输入密钥
// 等待用户输入密钥
if (elapsedTime > averageSecondsInMonth || Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter))
{
//await GetKey();//读取JSON更新密钥
//await GetKey();//读取JSON更新密钥
if (elapsedTime > averageSecondsInMonth)
{
encryptionKey = (KeyGenerator.GenerateKey("123"));//更新密钥
encryptionKey = (KeyGenerator.GenerateKey("123"));//更新密钥
isOverdueKey = true;
}
if (isOverdueKey && encryptionKey.Equals(inputKey))
{
ResetTimer();
isOverdueKey = false;
Debug.Log("密钥正确,继续运行程序");
Debug.Log("密钥正确,继续运行程序");
}
else if (isOverdueKey)
{
Debug.Log("密钥错误,程序无法运行");
Application.Quit(); // 密钥错误,退出应用程序
Debug.Log("密钥错误,程序无法运行");
Application.Quit(); // 密钥错误,退出应用程序
}
}
/*else if (isOverdueKey && Input.GetKeyDown(KeyCode.Backspace))
@ -69,21 +69,21 @@ public class EncryptionScript : MonoBehaviour
{
if (isOverdueKey && Input.GetKeyDown(KeyCode.V))
{
string pasteText = GUIUtility.systemCopyBuffer; // 获取系统粘贴板的内容
inputKey = pasteText; // 将粘贴的值赋给Input字段
string pasteText = GUIUtility.systemCopyBuffer; // 获取系统粘贴板的内容
inputKey = pasteText; // 将粘贴的值赋给Input字段
}
}
}
private void LateUpdate()
{
elapsedTime += Time.deltaTime;
Debug.Log("elapsedTime: " + elapsedTime);
//elapsedTime += Time.deltaTime;
//Debug.Log("elapsedTime: " + elapsedTime);
}
/// <summary>
/// 重置计时器、秘钥有效期更新
/// 重置计时器、秘钥有效期更新
/// </summary>
public void ResetTimer()
{
@ -99,16 +99,16 @@ public class EncryptionScript : MonoBehaviour
private async Task<string> GetApiDocumentation(string apiUrl)
{
// 创建 HTTP 客户端
// 创建 HTTP 客户端
using (var httpClient = new HttpClient())
{
// 发送 GET 请求并等待响应
// 发送 GET 请求并等待响应
var response = await httpClient.GetAsync(apiUrl);
// 确认响应是否成功
// 确认响应是否成功
response.EnsureSuccessStatusCode();
// 读取响应内容并返回
// 读取响应内容并返回
return await response.Content.ReadAsStringAsync();
}
}
@ -164,12 +164,12 @@ public class EncryptionScript : MonoBehaviour
}
else
{
Debug.Log("API请求失败或返回空数据。");
Debug.Log("API请求失败或返回空数据。");
}
}
catch (Exception e)
{
Debug.LogError("API请求期间发生错误: " + e.Message);
Debug.LogError("API请求期间发生错误: " + e.Message);
}
}

View File

@ -2,29 +2,29 @@ using System;
using System.Security.Cryptography;
/// <summary>
/// 生成密钥
/// 生成密钥
/// </summary>
public class KeyGenerator
{
/// <summary>
/// 根据ID与当前日期生成密钥
/// 根据ID与当前日期生成密钥
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public static string GenerateKey(string id)
{
// 将ID和当前日期组合成一个字符串
// 将ID和当前日期组合成一个字符串
string combinedString = id + DateTime.Now.ToString("yyyyMMdd");
// 将字符串转换成字节数组
// 将字符串转换成字节数组
byte[] combinedBytes = System.Text.Encoding.UTF8.GetBytes(combinedString);
// 使用SHA256哈希算法生成密钥
// 使用SHA256哈希算法生成密钥
using (var sha256 = SHA256.Create())
{
byte[] hashBytes = sha256.ComputeHash(combinedBytes);
// 将字节数组转换成字符串表示形式作为最终的密钥
// 将字节数组转换成字符串表示形式作为最终的密钥
string key = BitConverter.ToString(hashBytes).Replace("-", "").ToLower();
return key;

View File

@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
@ -10,7 +10,7 @@ using UnityEngine;
[ExecuteInEditMode]
public class SkyboxManager : MonoBehaviour
{
public Material skyboxMaterial; // 你要使用的天空盒材质
public Material skyboxMaterial; // 你要使用的天空盒材质
void Start()
{

View File

@ -28,7 +28,13 @@ public class ClickEvent : MonoBehaviour
public List<Material> empty = new List<Material>();
public Shader TransparentGlow_Shader;
[SerializeField] Vector3 yiDong_pos = new Vector3(1.8f, 1.5f, 0);
/// <summary>
/// ×ø±êÆ«ÒÆÖµ
/// </summary>
[SerializeField] Vector3 yiDong_pos = new Vector3(1.5f, 1.5f, 0) * 10;
/// <summary>
/// ½Ç¶ÈÆ«ÒÆÖµ
/// </summary>
[SerializeField] Vector3 fangDa_rot = new Vector3(0, -90, 0);
public List<MeshRenderer> MeshRenderers
@ -89,7 +95,7 @@ public class ClickEvent : MonoBehaviour
isTransparentGlow = true;
// 物体被点击
Debug.Log("放大点击到" + gameObject.name);
Vector3 targetPosition = new Vector3(transform.localPosition.x + yiDong_pos.x, transform.localPosition.y + yiDong_pos.y, transform.localPosition.z + yiDong_pos.z);
Vector3 targetPosition = new Vector3(transform.position.x + yiDong_pos.x, transform.position.y + yiDong_pos.y, transform.position.z + yiDong_pos.z);
Quaternion targetRotation = Quaternion.Euler(fangDa_rot);
Camera.main.transform.DOMove(targetPosition, 1f);
Camera.main.transform.DORotateQuaternion(targetRotation, 1f).OnComplete(() =>
@ -129,7 +135,7 @@ public class ClickEvent : MonoBehaviour
isTransparentGlow = true;
// 物体被点击
Debug.Log("放大点击到" + gameObject.name);
Vector3 targetPosition = new Vector3(transform.localPosition.x + yiDong_pos.x, transform.localPosition.y + yiDong_pos.y, transform.localPosition.z + yiDong_pos.z);
Vector3 targetPosition = new Vector3(transform.position.x + yiDong_pos.x, transform.position.y + yiDong_pos.y, transform.position.z + yiDong_pos.z);
Quaternion targetRotation = Quaternion.Euler(fangDa_rot);
Camera.main.transform.DOMove(targetPosition, 1f);
Camera.main.transform.DORotateQuaternion(targetRotation, 1f).OnComplete(() =>

View File

@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 热力图管理
/// 热力图管理
/// </summary>
public class HeatMapPoints : MonoBehaviour
{
@ -27,19 +27,19 @@ public class HeatMapPoints : MonoBehaviour
}
/// <summary>
/// 热力图点位
/// 热力图点位
/// </summary>
public Transform myTransform;
/// <summary>
/// 点位列表
/// 点位列表
/// </summary>
public List<Transform> points = new List<Transform>();
/// <summary>
/// 热力图脚本
/// 热力图脚本
/// </summary>
public HeatMapComponent heatMapComponent;
/// <summary>
/// 点位预制体
/// 点位预制体
/// </summary>
public Transform prefab;
@ -70,7 +70,7 @@ public class HeatMapPoints : MonoBehaviour
}
[ContextMenu("生成热力图组件")]
[ContextMenu("生成热力图组件")]
public void F1()
{
if (myTransform == null)
@ -84,7 +84,7 @@ public class HeatMapPoints : MonoBehaviour
}
for (int i = 0; i < myTransform.childCount; i++)
{
myTransform.GetChild(i).localPosition = points[i].localPosition;
myTransform.GetChild(i).position = points[i].position;
myTransform.GetChild(i).localEulerAngles = points[i].localEulerAngles;
}
if (heatMapComponent == null)
@ -96,7 +96,7 @@ public class HeatMapPoints : MonoBehaviour
}
}
[ContextMenu("清除")]
[ContextMenu("清除")]
void Delate()
{
if (myTransform == null || myTransform.childCount == 1)

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3ce1e56fcb3160d4c8d35f6d332c4124
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,200 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static UnityEngine.UIElements.VisualElement;
/// <summary>
/// 创建线条
/// </summary>
public class CreateLine : MonoBehaviour
{
public Transform A5;
public Transform B5;
public Transform A6;
public Transform B6;
public Transform A7;
public Transform B7;
/// <summary>
/// 端口边距
/// </summary>
[Header("端口边距")] public float edge_Distance = 1;
[Header("不同高度集"), SerializeField] List<Transform> _vectors_tall = new List<Transform>();
/// <summary>
/// 不同高度集
/// </summary>
[HideInInspector] public List<Vector3> vectors_tall = new List<Vector3>();
public float lineWidth = 0.1f; // 线的粗细
public Color lineColor = Color.white; // 线的颜色
private LineRenderer lineRenderer; // LineRenderer 组件
/// <summary>
/// 当前创建的空物体
/// </summary>
private GameObject go;
private void Awake()
{
for (int i = 0; i < _vectors_tall.Count; i++)
vectors_tall.Add(_vectors_tall[i].position);
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
/// <summary>
/// 生成LineGUID
/// </summary>
public static class UniqueGuidGenerator
{
private static HashSet<string> generatedGuids = new HashSet<string>();
public static string GenerateUniqueGuid()
{
string guidString;
do
{
guidString = Guid.NewGuid().ToString("N");
} while (!generatedGuids.Add(guidString));
return guidString;
}
}
public void init()
{
go = new GameObject("EmptyObject");
lineRenderer = go.GetComponent<LineRenderer>();
if (!lineRenderer) lineRenderer = go.AddComponent<LineRenderer>();
//lineRenderer.material = new Material(Shader.Find("Sprites/Default"));
lineRenderer.material = Resources.Load<Material>("emission");
lineRenderer.startWidth = lineWidth;
lineRenderer.endWidth = lineWidth;
lineRenderer.startColor = lineColor;
lineRenderer.endColor = lineColor;
}
/// <summary>
/// 同行(分同层、不同层两种)
/// </summary>
/// <param name="A"></param>
/// <param name="B"></param>
public void Creat5(Transform A, Transform B)
{
init();
List<Vector3> vector3s = new List<Vector3>();
Vector3 v1 = A.position;
Vector3 v2 = A.position + new Vector3(edge_Distance, 0, 0);
//同层 V3=V4 不同层 V3!=V4
Vector3 v3 = v2 + new Vector3(0, 0, B.position.z - v2.z);
Vector3 v4 = v3 + new Vector3(0, B.position.y - v3.y, 0);
Vector3 v5 = B.position;
vector3s.Add(v1);
vector3s.Add(v2);
vector3s.Add(v3);
vector3s.Add(v4);
vector3s.Add(v5);
lineRenderer.positionCount = 5;
lineRenderer.SetPositions(vector3s.ToArray());
}
/// <summary>
/// 同列
/// </summary>
/// <param name="A"></param>
/// <param name="B"></param>
/// <param name="hierarchy">高度层级</param>
public void Creat6(Transform A, Transform B, int hierarchy)
{
init();
List<Vector3> vector3s = new List<Vector3>();
Vector3 v1 = A.position;
Vector3 v2 = A.position + new Vector3(edge_Distance, 0, 0);
Vector3 v3 = v2 + new Vector3(0, vectors_tall[hierarchy].y - v2.y, 0);
Vector3 v4 = v3 + new Vector3(B.position.x - v3.x + edge_Distance, 0, 0);
Vector3 v5 = v4 + new Vector3(0, B.position.y - v4.y, 0);
Vector3 v6 = B.position;
vector3s.Add(v1);
vector3s.Add(v2);
vector3s.Add(v3);
vector3s.Add(v4);
vector3s.Add(v5);
vector3s.Add(v6);
lineRenderer.positionCount = 6;
lineRenderer.SetPositions(vector3s.ToArray());
}
/// <summary>
/// 不同行(分同列、不同列两种)
/// </summary>
/// <param name="A"></param>
/// <param name="B"></param>
/// <param name="hierarchy">高度层级</param>
public void Creat7(Transform A, Transform B, int hierarchy)
{
init();
List<Vector3> vector3s = new List<Vector3>();
Vector3 v1 = A.position;
Vector3 v2 = A.position + new Vector3(edge_Distance, 0, 0);
Vector3 v3 = v2 + new Vector3(0, vectors_tall[hierarchy].y - v2.y, 0);
Vector3 v4 = v3 + new Vector3(B.position.x - v3.x + edge_Distance, 0, 0);
Vector3 v5 = v4 + new Vector3(0, 0, B.position.z - v4.z);
Vector3 v6 = v5 + new Vector3(0, B.position.y - v5.y, 0);
Vector3 v7 = B.position;
vector3s.Add(v1);
vector3s.Add(v2);
vector3s.Add(v3);
vector3s.Add(v4);
vector3s.Add(v5);
vector3s.Add(v6);
vector3s.Add(v7);
lineRenderer.positionCount = 7;
lineRenderer.SetPositions(vector3s.ToArray());
}
[ContextMenu("同行")]
public void F5()
{
Creat5(A5, B5);
}
[ContextMenu("6点")]
public void F6()
{
Creat6(A6, B6, 2);
}
[ContextMenu("不同行")]
public void F7()
{
Creat7(A7, B7, 1);
}
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 36351eb11c7c4f44197bfb4e5adc8665
guid: 9f4167c2b940afa4c973f5ce666cd28e
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -0,0 +1,16 @@

using System;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 线条信息
/// </summary>
[Serializable]
public class LineInfor : MonoBehaviour
{
[Header("自己ID")] public string myID;
[Header("对方ID")] public string otherID;
[Header("线条UID")] public string lineUID;
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 178e52fb88ef9f548972453fe538a9a2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -4,6 +4,7 @@ using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine.Audio;
using Unity.Burst.CompilerServices;
using System;
/// <summary>
/// 上帝视角
@ -51,6 +52,11 @@ public class ExtendedFlycam : MonoBehaviour
{
_inst = this;
previousMousePosition = Input.mousePosition;
//DateTime now = new DateTime(2023, 7, 25, 23, 0, 0);
//DateTime acquisition_time = now.Date.AddHours(now.Hour);//采集时间
//var dateTime_0C = acquisition_time.AddHours(1);//当前小时不再计算
//Debug.Log("acquisition_time:" + acquisition_time + "\ndateTime_0C:" + dateTime_0C);
}
void Start()
{

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0e315451dcb53644aad5f2bdd9dccf74
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,138 @@
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Unity.VisualScripting;
using UnityEngine;
using static EncryptionScript;
using static UnityEngine.Rendering.DebugUI.Table;
public class Device : MonoBehaviour
{
public DeviceInfor mydata;
/// <summary>
/// 是否已经放置
/// </summary>
/*[HideInInspector]*/
public bool isPut = false;
// Start is called before the first frame update
private void Awake()
{
}
void Start()
{
}
// Update is called once per frame
void Update()
{
if (isPut)
{
isPut = false;
refreshName();
refreshJson();
LineInforChecker();
}
}
/// <summary>
/// 刷新自己名字
/// </summary>
void refreshName()
{
for (int i = 0; i < mydata.ports.Length; i++)
{
var li = mydata.ports[i].GetComponent<LineInfor>();
if (!li) mydata.ports[i].AddComponent<LineInfor>().myID = string.Format("{0}-{1}-{2}-{3}", mydata.area, mydata.row, mydata.tier, mydata.ports[i].name);
else li.myID = string.Format("{0}-{1}-{2}-{3}", mydata.area, mydata.row, mydata.tier, mydata.ports[i].name);
}
}
/// <summary>
/// 更新该设备下所有端口信息JSON
/// </summary>
void refreshJson()
{
List<List<string>> strings = new List<List<string>>();
var _line = GetComponentsInChildren<LineInfor>().ToList();
for (int i = 0; i < _line.Count; i++)
{
var line = new List<string>();
line.Add(_line[i].myID);
line.Add(_line[i].otherID);
line.Add(_line[i].lineUID);
strings.Add(line);
}
DeviceInfor person = new DeviceInfor();
person.devtype = mydata.devtype;
//person.ports = mydata.ports;
person.area = mydata.area;
person.row = mydata.row;
person.tier = mydata.tier;
person.lineInfors = new List<List<string>>(strings);
string json = JsonConvert.SerializeObject(person);
Debug.Log(json);
}
/// <summary>
/// 遍历相同lineUID的物体
/// </summary>
/// <param name="uid">寻找具体某一UID</param>
void LineInforChecker(string uid = null)
{
bool isfind = false;
LineInfor[] lineInfors = FindObjectsOfType<LineInfor>();
//记录相同lineUID
Dictionary<string, List<LineInfor>> lineUIDDict = new Dictionary<string, List<LineInfor>>();
foreach (var item in lineInfors)
{
if (string.IsNullOrEmpty(item.lineUID)) continue;
// 判断lineUID是否存在于字典中
if (lineUIDDict.ContainsKey(item.lineUID))
{
lineUIDDict[item.lineUID].Add(item);
}
else
{
List<LineInfor> newList = new List<LineInfor>();
newList.Add(item);
lineUIDDict.Add(item.lineUID, newList);
}
}
// 输出相同lineUID
foreach (var item in lineUIDDict)
{
if (item.Value.Count > 1)
{
if (uid != null)
{
if (item.Key == uid)
{
isfind = true;
Debug.Log(string.Format
("lineUID: {0},GameA Name: {1},GameB Name: {2}", item.Key, item.Value[0].myID, item.Value[1].myID));
break;
}
}
else
{
isfind = true;
Debug.Log(string.Format
("lineUID: {0},GameA Name: {1},GameB Name: {2}", item.Key, item.Value[0].myID, item.Value[1].myID));
break;
}
}
}
if (!isfind) Debug.Log("无匹配端口UID");
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e7c72a30787d16b40b8fc3f185ef3d8b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,42 @@
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class DeviceInfor
{
/// <summary>
/// 设备类型
/// </summary>
[Header("设备类型")] public DeviceType devtype;
/// <summary>
/// 端口位置集
/// </summary>
[Header("端口位置集")] public Transform[] ports;
/// <summary>
/// 区域
/// </summary>
[Header("区域")] public string area;
/// <summary>
/// 列
/// </summary>
[Header("列")] public string row;
/// <summary>
/// 层
/// </summary>
[Header("层")] public string tier;
/// <summary>
/// 当前设备所有端口线的信息
/// </summary>
public List<List<string>> lineInfors;
}
public enum DeviceType
{
dev1, dev2, dev3
}
public class Contact
{
public List<string> strings;
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0a82eae006143734f84177da5b234e3b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
@ -6,7 +6,7 @@ using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// 透明脚本
/// 透明脚本
/// </summary>
public class TransparentGlow : MonoBehaviour
{
@ -14,11 +14,11 @@ public class TransparentGlow : MonoBehaviour
private List<MeshRenderer> meshRenderers;
/// <summary>
/// 自身的
/// 自身的
/// </summary>
private List<Material> materials;
/// <summary>
/// 复制出来的
/// 复制出来的
/// </summary>
public List<Material> empty = new List<Material>();
@ -73,9 +73,9 @@ public class TransparentGlow : MonoBehaviour
}
/// <summary>
/// 透明
/// 透明
/// </summary>
[ContextMenu("透明")]
[ContextMenu("透明")]
public void F1()
{
for (int i = 0; i < Materials.Count; i++)
@ -85,9 +85,9 @@ public class TransparentGlow : MonoBehaviour
}
/// <summary>
/// 恢复原材质
/// 恢复原材质
/// </summary>
[ContextMenu("恢复原材质")]
[ContextMenu("恢复原材质")]
public void F2()
{
for (int i = 0; i < Materials.Count; i++)
@ -96,7 +96,7 @@ public class TransparentGlow : MonoBehaviour
}
}
[ContextMenu("添加点击组件")]
[ContextMenu("添加点击组件")]
public void F3()
{
TransparentGlow[] components = FindObjectsOfType<TransparentGlow>(false);

View File

@ -1,14 +1,16 @@
using System.Collections;
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEditor;
using UnityEngine;
using UnityEngine.UIElements;
using static UnityEditor.Progress;
using static UnityEngine.Rendering.DebugUI.Table;
using static UnityEngine.UI.CanvasScaler;
/// <summary>
/// 透明管理
/// 透明管理
/// </summary>
public class TransparentGlowManage : MonoBehaviour
{
@ -34,7 +36,7 @@ public class TransparentGlowManage : MonoBehaviour
public TransparentGlow[] transparentGlows;
public ClickEvent[] clickEvents;
/// <summary>
/// 是否进入透明模式
/// 是否进入透明模式
/// </summary>
public bool is_transparency = false;
@ -58,7 +60,7 @@ public class TransparentGlowManage : MonoBehaviour
void Start()
{
transparentGlows = FindObjectsOfType<TransparentGlow>();
foreach (var item in HeatMapPoints.Inst.points)
{
ClickEvent clickEvent = item.GetComponent<ClickEvent>();
@ -68,6 +70,7 @@ public class TransparentGlowManage : MonoBehaviour
{
if (!clickEvent)
{
//加点击脚本,处理模型名字,new 设备编号管理
item.gameObject.AddComponent<ClickEvent>();
}
@ -80,8 +83,16 @@ public class TransparentGlowManage : MonoBehaviour
var a = item.gameObject.AddComponent<BoxCollider>();
a.isTrigger = false;
a.center = bounds.center - item.transform.position;
a.center = new Vector3(
a.center.x * AdjustColliderSize(10, 10, 10).x,
a.center.y * AdjustColliderSize(10, 10, 10).y,
a.center.z * AdjustColliderSize(10, 10, 10).z);
a.size = bounds.size;
a.transform.rotation = Quaternion.identity; //重置其旋转为默认值
a.size = new Vector3(
a.size.x * AdjustColliderSize(10, 10, 10).x,
a.size.y * AdjustColliderSize(10, 10, 10).y,
a.size.z * AdjustColliderSize(10, 10, 10).z);
a.transform.rotation = Quaternion.identity; //重置其旋转为默认值
}
}
}
@ -90,16 +101,29 @@ public class TransparentGlowManage : MonoBehaviour
clickEvents = FindObjectsOfType<ClickEvent>();
for (int i = 0; i < clickEvents.Length; i++)
{
if (clickEvents[i].Materials.Count>=0)
if (clickEvents[i].Materials.Count >= 0)
{
for (int j = 0; j < clickEvents[i].Materials.Count; j++)
{
break;
}
}
}
}
}
/// <summary>
/// 获取正确的缩放比例
/// </summary>
/// <param name="x"></param>
/// <param name="y"></param>
/// <param name="z"></param>
/// <returns></returns>
private Vector3 AdjustColliderSize(float x, float y, float z)
{
Vector3 scaleRatio = new Vector3(1f / x, 1f / y, 1f / z);
return scaleRatio;
}
// Update is called once per frame
void Update()
{
@ -113,9 +137,9 @@ public class TransparentGlowManage : MonoBehaviour
}
/// <summary>
/// 透明全部物体
/// 透明全部物体
/// </summary>
[ContextMenu("透明全部物体")]
[ContextMenu("透明全部物体")]
public void transparencyALL(bool is_transparency = true)
{
for (int i = 0; i < transparentGlows.Length; i++)
@ -130,9 +154,9 @@ public class TransparentGlowManage : MonoBehaviour
}
/// <summary>
/// 恢复全部物体
/// 恢复全部物体
/// </summary>
[ContextMenu("恢复全部物体")]
[ContextMenu("恢复全部物体")]
public void renewALL(bool is_transparency = false)
{
for (int i = 0; i < transparentGlows.Length; i++)

Binary file not shown.

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