整理了空场景,将创建空场景放在了右键菜单中,顺便修复了一下消息结构。

This commit is contained in:
2024-03-25 17:02:13 +08:00
parent ea47fe9af2
commit 06b73dc0f8
52 changed files with 10559 additions and 68926 deletions

View File

@@ -5,13 +5,46 @@
</component>
<component name="ChangeListManager">
<list default="true" id="daf2f20f-cec5-4df6-9f50-2b8f79af7b7d" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TIJI.cs" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TIJI.cs.meta" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.TowerCraneVisualization_HDRP_master/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.TowerCraneVisualization_HDRP_master/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Fbx/LRC/FullUVBox.fbx.meta" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Fbx/LRC/FullUVBox.fbx.meta" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Fbx/lou.fbx.meta" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Fbx/lou.fbx.meta" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scene/MainScene.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scene/MainScene.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scene/OriginSceneSample.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scene/OriginSceneSample.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/Attribute/FieldHelpAttribute.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/Attribute/FieldHelpAttribute.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerAreaSampleController.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerAreaSampleController.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerControlEditor.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerControlEditor.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerCraneControlManager.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerCraneControlManager.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerInvadeCap.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerInvadeCap.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerDollyTrolley.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerDollyTrolley.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerGerminate.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerGerminate.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerTraceTarget.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerTraceTarget.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/Camera/SampleCameraControl.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/Camera/SampleCameraControl.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/StreamingAssets/WebPage.config" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/StreamingAssets/WebPage.config" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/DebugMode.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/DebugMode.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/LocationRecodePanleManager.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/LocationRecodePanleManager.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/SystemSettingPanel.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/SystemSettingPanel.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/element/CollisionWarning/TopWarningItemController.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/element/CollisionWarning/TopWarningItemController.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/element/ConfigItem/ConfigSelectableItem.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/element/ConfigItem/ConfigSelectableItem.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Resources/LRC/Collect/基础建筑物.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Resources/LRC/Collect/基础建筑物.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/1HDRPLowQuality.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/1HDRPLowQuality.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/2HDRPMediumQuality.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/2HDRPMediumQuality.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/3HDRPHighQuality.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/3HDRPHighQuality.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/4HDRPRaytracingQuality.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/QualityLevels/4HDRPRaytracingQuality.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/Volumes/VolumeGlobal.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/SampleSceneAssets/Settings/Volumes/VolumeGlobal.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Volume/VolumeGlobal Z.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/Volume/VolumeGlobal Z.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/StreamingAssets/ConfigurationData.config" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/StreamingAssets/ConfigurationData.config" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/2D/DownUI.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/2D/DownUI.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/2D/TowerItemTagToggle.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/2D/TowerItemTagToggle.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/3D/CameraUSE/CameraPointWinding.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/3D/CameraUSE/CameraPointWinding.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/3D/Configuration/BuildingControl.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/3D/Configuration/BuildingControl.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/Massage/HandleMessage.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/Massage/HandleMessage.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/Massage/MessageData.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/Massage/MessageData.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/Massage/WSTest.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/Massage/WSTest.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/PerformanceSettings.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/PerformanceSettings.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ProjectSettings/GraphicsSettings.asset" beforeDir="false" afterPath="$PROJECT_DIR$/ProjectSettings/GraphicsSettings.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ProjectSettings/ProjectSettings.asset" beforeDir="false" afterPath="$PROJECT_DIR$/ProjectSettings/ProjectSettings.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ProjectSettings/QualitySettings.asset" beforeDir="false" afterPath="$PROJECT_DIR$/ProjectSettings/QualitySettings.asset" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@@ -64,6 +97,8 @@
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/5a41d6b7189842eca409fd0b1c3e3dcf17bf78/c0/1a3e9f2e/FieldInfo.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/5a41d6b7189842eca409fd0b1c3e3dcf17bf78/d0/d6b49e91/HashAlgorithm.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/5a41d6b7189842eca409fd0b1c3e3dcf17bf78/e9/671249af/BindingFlags.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/67d6bcfdbce34c2f916cdfe2b83d331218000/20/2cc5cbf1/Vector3Extend.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/67d6bcfdbce34c2f916cdfe2b83d331218000/97/0ca639b7/MacroTransferAxes.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/6dbe6eafb0c34591ae41f6f672d316f3155600/30/44ca83fd/UIEventRegistration.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/6dbe6eafb0c34591ae41f6f672d316f3155600/55/1113be66/UIElementsUtility.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/6dbe6eafb0c34591ae41f6f672d316f3155600/5b/526b7148/EventDispatcher.cs" root0="SKIP_HIGHLIGHTING" />
@@ -85,10 +120,16 @@
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/f1764d17c67845119ab9260a5efd986b284000/fc/ba705c66/Socket.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/SourcesCache/3ea01e77be99618395f448b16bd7cc2bd4248bd9e5d8474964b2d97f39c5d74/System.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/SourcesCache/d44b17e136d09081da1e8fd0e8c83fde60e11818b9f2442d7ed8cb733fae895e/System.Collections.Generic.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://C:/Users/Public/Nwt/cache/recv/陈度衡/TIJI.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/../QTZSever/TcpSeverTest/TCPSeverTest/TCPSeverTest/TCP/TCPSeverTest.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/Attribute/FieldHelpAttribute.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/TIJI.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/TmEditor/HelpTipsCollect.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/Setting.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="mock://F:/Unity_ProjectFlie/TowerCraneVisualization/TowerCraneVisualization_HDRP_master/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="mock://F:/Unity_ProjectFlie/TowerCraneVisualization/TowerCraneVisualization_HDRP_master/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="mock://F:/Unity_ProjectFlie/TowerCraneVisualization/TowerCraneVisualization_HDRP_master/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="mock://F:/Unity_ProjectFlie/TowerCraneVisualization/TowerCraneVisualization_HDRP_master/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowersBeginnerGuideHelp.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/UI/Camera/SampleCameraControl.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/UI/ScreenPrompt/PromptMessage.cs" root0="FORCE_HIGHLIGHTING" />
@@ -109,6 +150,7 @@
<setting file="file://$PROJECT_DIR$/Assets/ZMS/Script/2D/ConfigView/SystemConfiguration.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/ZMS/Script/2D/Difference/SyncDifference.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/ZMS/Script/Massage/MessageData.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.9/Editor/BuildProcessors/HDRPPreprocessBuild.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.9/Editor/Material/DiffusionProfile/DiffusionProfileMaterialUI.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.render-pipelines.high-definition@13.1.9/Runtime/Material/ShaderGraphAPI.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Editor/TMP_DropdownEditor.cs" root0="SKIP_HIGHLIGHTING" />
@@ -128,6 +170,11 @@
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Toggle.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/ToggleGroup.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.visualeffectgraph@13.1.9/Editor/Models/VFXGraph.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/CustomDrawer/GroupAttribute.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/CustomDrawer/ReNameAttribute.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Generation/Actuator/GenMethod.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Generation/Actuator/StairsGenerate.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/../塔基运行可视化系统/新接口/WSTest.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://G:/Unity_Project/TrainingCourse/Training Course 2024/Assets/Scripts/Camera/CameraControlBase.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://G:/Unity_Project/TrainingCourse/Training Course 2024/Assets/Scripts/Camera/ObserverCameraControl.cs" root0="SKIP_HIGHLIGHTING" />
</component>
@@ -183,7 +230,7 @@
<method v="2" />
</configuration>
<configuration name="独立播放器" type="RunUnityExe" factoryName="Unity Executable">
<option name="EXE_PATH" value="E:/UnityProject/TowerCraneVisualization_output_0320_3\TowerCraneVisualization.exe" />
<option name="EXE_PATH" value="E:/UnityProject/TowerCraneVisualization_output_0321_5\TowerCraneVisualization.exe" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="E:/UnityProject/TowerCraneVisualization_0.1.0" />
<option name="PASS_PARENT_ENVS" value="1" />
@@ -341,7 +388,13 @@
<workItem from="1710731521458" duration="5935000" />
<workItem from="1710804785868" duration="33880000" />
<workItem from="1710893463130" duration="31480000" />
<workItem from="1710976778834" duration="2626000" />
<workItem from="1710976778834" duration="31588000" />
<workItem from="1711066272765" duration="109000" />
<workItem from="1711066387153" duration="1281000" />
<workItem from="1711075901685" duration="3982000" />
<workItem from="1711081041481" duration="13514000" />
<workItem from="1711155069402" duration="32250000" />
<workItem from="1711325513863" duration="4259000" />
</task>
<servers />
</component>

View File

@@ -32,7 +32,7 @@ ModelImporter:
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 1

Binary file not shown.

View File

@@ -0,0 +1,108 @@
fileFormatVersion: 2
guid: 2a3c8c7ea29e41b4693d2405e0343065
ModelImporter:
serializedVersion: 22103
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,7 +1,7 @@
fileFormatVersion: 2
guid: 3dbbd9fe8abcefb4e81bc0060b1bdecc
ModelImporter:
serializedVersion: 22200
serializedVersion: 22103
internalIDToNameTable: []
externalObjects: {}
materials:
@@ -16,6 +16,8 @@ ModelImporter:
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
@@ -38,7 +40,6 @@ ModelImporter:
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1

View File

@@ -60,7 +60,7 @@ MonoBehaviour:
msaaMode: 1
materialQuality: 0
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, type: 2}
m_RenderPipelineRayTracingResources: {fileID: 11400000, guid: ba6e7f30e5cffc249a8bf7ee5756c196, type: 2}
m_RenderPipelineRayTracingResources: {fileID: 0}
beforeTransparentCustomPostProcesses: []
beforePostProcessCustomPostProcesses:
- UnityEngine.Rendering.HighDefinition.Compositor.ChromaKeying, Unity.RenderPipelines.HighDefinition.Runtime,

View File

@@ -1,5 +1,6 @@
fileFormatVersion: 2
guid: c0622692afe62034e9a6f2c14d7afaba
guid: e67b9d70d1949ba47ba12eacda691d39
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:

View File

@@ -1,303 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &622634308
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 622634310}
- component: {fileID: 622634309}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &622634309
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 622634308}
m_Enabled: 1
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &622634310
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 622634308}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &1261832911
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1261832914}
- component: {fileID: 1261832913}
- component: {fileID: 1261832912}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &1261832912
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1261832911}
m_Enabled: 1
--- !u!20 &1261832913
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1261832911}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1261832914
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1261832911}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: c92ff4857932f7746b1a7ab6a19c6007
DefaultImporter:
guid: f73273f1881aee547a5b40cbde89adf3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:

View File

@@ -66,7 +66,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: "\u5854\u673A#02"
m_text: "\u5854\u673A#9999"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 713219d18e2f8c440b4e4435211afb23, type: 2}
m_sharedMaterial: {fileID: -1567122069935691074, guid: 713219d18e2f8c440b4e4435211afb23, type: 2}
@@ -236,7 +236,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
towerParasiteIns: {fileID: 0}
towerCraneControlManager: {fileID: 0}
nameText: {fileID: 5459803782303592915}
targetToggle: {fileID: 5386556246554376311}
--- !u!1 &3807282154412856563

View File

@@ -0,0 +1,310 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3141856068055544938
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3141856068055544940}
- component: {fileID: 3141856068055544941}
m_Layer: 0
m_Name: "\u957F\u5F81\u5929\u548C\u5C0F\u53C9\u53C9"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3141856068055544940
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856068055544938}
m_LocalRotation: {x: -0.6903456, y: -0.15304585, z: -0.15304585, w: 0.6903456}
m_LocalPosition: {x: 181.27188, y: 0, z: 128.7601}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3141856069418616262}
- {fileID: 3141856069405728326}
- {fileID: 3141856069007592815}
m_Father: {fileID: 0}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: -90, y: 0, z: -25}
--- !u!114 &3141856068055544941
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856068055544938}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 450f6270807023d44a7d68294b1416e7, type: 3}
m_Name:
m_EditorClassIdentifier:
code: 10
mainStructure: {fileID: 3141856069418616262}
topStructure: {fileID: 3141856069007592815}
structureSurround: {fileID: 3141856069405728326}
meshRenderer: {fileID: 3141856069405728324}
materialNotSelectBob: {fileID: 2100000, guid: 836cfb69249704c4dbd94ebe21e5e165, type: 2}
materialSelectBob: {fileID: 2100000, guid: 95eab39899d82cb41a85e43b1d5cdb28, type: 2}
fenceLine: {fileID: 0}
bodyLine: {fileID: 0}
numberText: {fileID: 1684582849447922532, guid: 1ec2e52df460af54dad20689313e1a2c, type: 3}
numberTextPosition: {x: 0, y: 0, z: 0}
numberAddHeight: 1
--- !u!1 &3141856069007592812
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3141856069007592815}
- component: {fileID: 3141856069007592817}
- component: {fileID: 3141856069007592814}
m_Layer: 0
m_Name: "\u5EFA\u7B51\u9876\u90E8"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3141856069007592815
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069007592812}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3141856068055544940}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3141856069007592817
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069007592812}
m_Mesh: {fileID: 8252605968852674741, guid: 2a3c8c7ea29e41b4693d2405e0343065, type: 3}
--- !u!23 &3141856069007592814
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069007592812}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 257
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 81efd9a812325694c86217b4ab8a5dd0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &3141856069405728325
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3141856069405728326}
- component: {fileID: 3141856069405728327}
- component: {fileID: 3141856069405728324}
m_Layer: 0
m_Name: "\u5EFA\u7B51\u56F4\u6321"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3141856069405728326
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069405728325}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3141856068055544940}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3141856069405728327
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069405728325}
m_Mesh: {fileID: -3591831336303416866, guid: 2a3c8c7ea29e41b4693d2405e0343065, type: 3}
--- !u!23 &3141856069405728324
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069405728325}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 257
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 836cfb69249704c4dbd94ebe21e5e165, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &3141856069418616263
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3141856069418616262}
- component: {fileID: 3141856069418616264}
- component: {fileID: 3141856069418616265}
m_Layer: 0
m_Name: "\u5EFA\u7B51\u4E3B\u4F53"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3141856069418616262
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069418616263}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3141856068055544940}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3141856069418616264
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069418616263}
m_Mesh: {fileID: -4378805115327458018, guid: 2a3c8c7ea29e41b4693d2405e0343065, type: 3}
--- !u!23 &3141856069418616265
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3141856069418616263}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 257
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 81efd9a812325694c86217b4ab8a5dd0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}

View File

@@ -1,8 +1,7 @@
fileFormatVersion: 2
guid: c547291e3ab79424d95cb676523d9bac
NativeFormatImporter:
guid: b760ac1233678144a8a1daeb699f6b69
PrefabImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e970aadc811208c44a24287d9a2e68dd
guid: 942f00b00a06eb24cac9c6112f2b9581
DefaultImporter:
externalObjects: {}
userData:

View File

@@ -3,7 +3,6 @@ using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using XericLibrary.Runtime.CustomDrawer;
namespace LRC
{

View File

@@ -76,7 +76,7 @@ public class TIJI : MonoBehaviour
Vector3 object1_center = object1_mc.bounds.center;
Matrix4x4 localToWorld_object1 = object1.transform.localToWorldMatrix;
//List<Vector3> vertices_object1 = new List<Vector3>();
var oldMesh = object1.GetComponent<MeshFilter>().sharedMesh;
var oldMesh = object1.GetComponent<MeshFilter>().mesh;
oldMesh.MarkDynamic();
Vector3[] vertices_object1 = oldMesh.vertices;

View File

@@ -443,7 +443,7 @@ namespace LRC
* | -| safe warnLevel
* safe |- |
* | -| normal warnLevel (if is valid)
* ѡ<>е<EFBFBD>ƽ<EFBFBD><C6BD>ͼ<EFBFBD><CDBC>Ϊ0<CEAA><EFBFBD><E3A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>ƽ<EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* ѡ<>е<EFBFBD>ƽ<EFBFBD><C6BD>ͼ<EFBFBD><CDBC>Ϊ0<CEAA><EFBFBD><E3A3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><EFBFBD>ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD>У<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>
* <20><><EFBFBD>⣬ÿ<E2A3AC><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬһ<CDAC><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD>ƣ<EFBFBD><C6A3><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD>Ӷ<EFBFBD><D3B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/

View File

@@ -7,7 +7,7 @@ using System.Reflection;
using System.Security.Cryptography;
using UnityEngine;
using XericLibrary.Runtime.MacroLibrary;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using DDDInducator.Runtime.Draw;
using Random = System.Random;
@@ -2260,8 +2260,8 @@ namespace LRC
var field = typeof(TowerCraneControlManager).GetField(propName,
BindingFlags.NonPublic | BindingFlags.Instance);
if (field != null &&
field.GetCustomAttribute(typeof(ReNameAttribute)) is ReNameAttribute rename)
return new GUIContent(rename.Name);
field.GetCustomAttribute(typeof(RenameAttribute)) is RenameAttribute rename)
return new GUIContent(rename.name);
if (field != null)
return new GUIContent(field.Name);
return new GUIContent(propName);

View File

@@ -7,9 +7,8 @@ using System.Security;
using UnityEngine;
using UnityEngine.Rendering;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using XericLibrary.Runtime.MacroLibrary;
using Xeric.Runtime.MicroLibrary;
using XericLibrary.Runtime.Type;
using DDDInducator.Runtime;
@@ -19,6 +18,7 @@ using DDDInducator.Runtime.Terminal;
using Sirenix.OdinInspector;
using Unity.VisualScripting;
using UnityEngine.Serialization;
using Xeric.Runtime.MicroLibrary;
using ZMS.UI;
// using TowerCraneVisualization_DLL;
@@ -485,20 +485,22 @@ namespace LRC
foreach (var target in AllTowers)
{
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
var config = SystemSettingPanel.Data.TowerConfigData.FirstOrDefault(a => a.code == tower.towerRealIndex);
if (config != null && config.hide)
{
target.ShowOnlyTower(false);
target.ShowOnlySample(false);
continue;
}
var config = SystemSettingPanel.Data.TowerConfigData.FirstOrDefault(a => a.code == target.towerRealIndex);
// if ()
// {
// target.ShowOnlyTower(false);
// target.ShowOnlySample(false);
// continue;
// }
var configHide = config != null && config.hide;
if (PersistentDrawing)
{
target.ShowOnlyTower(true);
target.ShowOnlySample(true);
target.ShowOnlyTower(!configHide);
target.ShowOnlySample(!configHide);
foreach (var area in target.TowerSampleAreas)
area.gameObject.SetActive(true);
area.gameObject.SetActive(!configHide);
continue;
}
@@ -510,9 +512,9 @@ namespace LRC
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD><DEB9><EFBFBD><EFBFBD><EFBFBD>
if (isNonProximityTower)
{
var a = !target.autoHideUncorrelatedTowerWithMyFocus || active;
target.ShowOnlyTower(a);
target.ShowOnlySample(a);
var noFocusActive = !configHide && (!target.autoHideUncorrelatedTowerWithMyFocus || active);
target.ShowOnlyTower(noFocusActive);
target.ShowOnlySample(noFocusActive);
}
foreach (var area in target.TowerSampleAreas)
@@ -522,6 +524,7 @@ namespace LRC
Debug.LogError($"<22><><EFBFBD>̴<EFBFBD><CCB4><EFBFBD>ȱ<EFBFBD>ݣ<EFBFBD>{target.name} ƽ<><C6BD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
continue;
}
// <20><><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD>ƽ<EFBFBD><C6BD>ͼ
if (target.autoHideUncorrelatedTowerIndicatorWithMyFocus && isNonProximityTower)
{
@@ -564,7 +567,7 @@ namespace LRC
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>
/// </summary>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>")]
[SerializeField]
private int towerRealIndex = -1;
@@ -646,7 +649,7 @@ namespace LRC
[FormerlySerializedAs("towerGerminate_Transform")]
[FormerlySerializedAs("TowerGerminate_Transform")]
[FoldoutGroup("֧<><D6A7>")]
[ReName("<22><><EFBFBD><EFBFBD>֧<EFBFBD>ܱ任")]
[Rename("<22><><EFBFBD><EFBFBD>֧<EFBFBD>ܱ任")]
[SerializeField]
internal Transform towerGerminateTransform;
@@ -661,7 +664,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmCarry")]
[FoldoutGroup("֧<><D6A7>")]
[ReName("<22><><EFBFBD><EFBFBD>ʱЯ<CAB1><D0AF><EFBFBD><EFBFBD>Ʒ")]
[Rename("<22><><EFBFBD><EFBFBD>ʱЯ<CAB1><D0AF><EFBFBD><EFBFBD>Ʒ")]
[SerializeField]
internal List<Transform> rockerArmCarry;
@@ -670,7 +673,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TowerGerminateHeight")]
[FoldoutGroup("֧<><D6A7>")]
[ReName("<22><><EFBFBD><EFBFBD>֧<EFBFBD>ܾ<EFBFBD><DCBE>Ը߶<D4B8>*")]
[Rename("<22><><EFBFBD><EFBFBD>֧<EFBFBD>ܾ<EFBFBD><DCBE>Ը߶<D4B8>*")]
public float towerGerminateHeight = 10;
/// <summary>
@@ -678,7 +681,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TowerCabHeight")]
[FoldoutGroup("֧<><D6A7>")]
[ReName("<22><>ʻ<EFBFBD>Ҹ߶<D2B8>")]
[Rename("<22><>ʻ<EFBFBD>Ҹ߶<D2B8>")]
public float towerCabHeight = 1;
#endregion
@@ -694,7 +697,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("EnableRockerArmBlockScaleAdj")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><>ͷλ<CDB7><CEBB>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("<22><>ͷλ<CDB7><CEBB>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableRockerArmBlockScaleAdj = false;
@@ -703,7 +706,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("EnableRockerArmScaleAdj")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("ҡ<><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableRockerArmScaleAdj = false;
@@ -712,7 +715,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBlock_Transform")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<>۶<EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>")]
[Rename("ҡ<>۶<EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>")]
[SerializeField]
internal Transform rockerArmBlockTransform;
@@ -721,7 +724,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBlockLength")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<>۶<EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>")]
[Rename("ҡ<>۶<EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>")]
[SerializeField]
internal float rockerArmBlockLength = .5f;
@@ -730,7 +733,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArm_Transform")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<>۱<DBB1><E4BBBB><EFBFBD><EFBFBD>")]
[Rename("ҡ<>۱<DBB1><E4BBBB><EFBFBD><EFBFBD>")]
[SerializeField]
internal Transform rockerArmTransform;
@@ -739,7 +742,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmScale_Transform")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal Transform rockerArmScaleTransform;
@@ -748,7 +751,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TowerRotateSpeed")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD>ٶ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD>ٶ<EFBFBD>")]
[SerializeField]
internal float towerRotateSpeed = 1;
@@ -757,7 +760,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TowerRotateAxis")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>")]
[SerializeField]
internal Vector3 towerRotateAxis = Vector3.up;
@@ -766,7 +769,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TowerRotateBaseAngle")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>Ƕ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>Ƕ<EFBFBD>")]
[SerializeField]
internal Vector3 towerRotateBaseAngle = Vector3.zero;
@@ -780,7 +783,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TowerRatateAngle")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>*")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>*")]
[SerializeField]
internal float towerRatateAngle = 0;
@@ -789,7 +792,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBaseOffset")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ȫ<><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("ȫ<><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmBaseOffset = Vector3.zero;
@@ -798,7 +801,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBlockMoveDirection")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("<22><>ͷ<EFBFBD>ƶ<EFBFBD><C6B6><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><>ͷ<EFBFBD>ƶ<EFBFBD><C6B6><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmBlockMoveDirection = Vector3.forward;
@@ -807,7 +810,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBaseScale")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<>ۻ<EFBFBD><DBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ҡ<>ۻ<EFBFBD><DBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmBaseScale = Vector3.one;
@@ -816,7 +819,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmScaleMoveUnit")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ҡ<><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmScaleMoveUnit = Vector3.forward;
@@ -825,7 +828,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("EnableRockerArmBalanceScaleAdj")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("ҡ<><D2A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableRockerArmBalanceScaleAdj = false;
@@ -834,7 +837,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalance_Transform")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>")]
[SerializeField]
internal Transform rockerArmBalanceTransform;
@@ -843,7 +846,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalanceBobWeight_Transform")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD>۶<EFBFBD><DBB6>ؽڵ<D8BD>")]
[Rename("ƽ<><C6BD><EFBFBD>۶<EFBFBD><DBB6>ؽڵ<D8BD>")]
[SerializeField]
internal Transform rockerArmBalanceBobWeightTransform;
@@ -852,7 +855,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalanceBaseOffset")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD>ۻ<EFBFBD><DBBB><EFBFBD>ƫ<EFBFBD><C6AB>")]
[Rename("ƽ<><C6BD><EFBFBD>ۻ<EFBFBD><DBBB><EFBFBD>ƫ<EFBFBD><C6AB>")]
[SerializeField]
internal Vector3 rockerArmBalanceBaseOffset = Vector3.zero;
@@ -861,7 +864,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalanceBaseScale")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD>ۻ<EFBFBD><DBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD>ۻ<EFBFBD><DBBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmBalanceBaseScale = Vector3.one;
@@ -870,7 +873,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalanceScaleDirection")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmBalanceScaleDirection = Vector3.back;
@@ -879,7 +882,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalanceLength")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal float rockerArmBalanceLength = 1;
@@ -888,7 +891,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmBalanceOffsetSDritection")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD><EFBFBD>ƫ<EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD><EFBFBD>ƫ<EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD>")]
[SerializeField]
internal Vector3 rockerArmBalanceOffsetSDritection = Vector3.back;
@@ -897,7 +900,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("RockerArmCounterWeightLength")]
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ƽ<><C6BD><EFBFBD>۶<EFBFBD><DBB6>س<EFBFBD><D8B3><EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD>۶<EFBFBD><DBB6>س<EFBFBD><D8B3><EFBFBD>")]
[SerializeField]
internal float rockerArmCounterWeightLength = .5f;
@@ -915,7 +918,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("EnableTrolleyCanMoveLengthScaleAdj")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1>·<EFBFBD><C2B7>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("С<><D0A1>·<EFBFBD><C2B7>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableTrolleyCanMoveLengthScaleAdj = false;
@@ -924,7 +927,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("dollyTrolley_Transform")]
[FoldoutGroup("С<><D0A1>")]
[ReName("<22><><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>任")]
[Rename("<22><><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD>任")]
[SerializeField]
internal Transform dollyTrolleyTransform;
@@ -939,7 +942,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TrolleyLocalMoveFroward")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 trolleyLocalMoveFroward = Vector3.forward;
@@ -948,7 +951,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TrolleyMoveSpeed")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1><EFBFBD>н<EFBFBD><D0BD>ٶ<EFBFBD>")]
[Rename("С<><D0A1><EFBFBD>н<EFBFBD><D0BD>ٶ<EFBFBD>")]
[SerializeField]
internal float trolleyMoveSpeed = 1;
@@ -956,7 +959,7 @@ namespace LRC
/// <20><><EFBFBD><EFBFBD>ҡ<EFBFBD><D2A1><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD>ĵľ<C4B5><C4BE><EFBFBD>)
/// </summary>
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
public float trolleyCanMoveStart = 2;
@@ -965,7 +968,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TrolleyCanMoveLength")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1><EFBFBD><EFBFBD>·<EFBFBD><C2B7>")]
[Rename("С<><D0A1><EFBFBD><EFBFBD>·<EFBFBD><C2B7>")]
[SerializeField]
public float trolleyCanMoveLength = 20;
@@ -974,7 +977,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TrolleyProgressLength")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><D0BE><EFBFBD>*")]
[Rename("С<><D0A1><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><D0BE><EFBFBD>*")]
[SerializeField]
public float trolleyProgressLength = 0;
@@ -983,7 +986,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TrolleyTargetAbsoluteLength")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal float trolleyTargetAbsoluteLength = 0;
@@ -992,7 +995,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoCamera")]
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Camera cargoCamera;
@@ -1016,13 +1019,13 @@ namespace LRC
[FormerlySerializedAs("EnableHookDeclineScaleAdj")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableHookDeclineScaleAdj = false;
[FormerlySerializedAs("EnableCargoDeclineScaleAdj")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBDB5>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBDB5>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableCargoDeclineScaleAdj = false;
@@ -1031,7 +1034,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookDecline_Transform")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal Transform hookDeclineTransform;
@@ -1040,7 +1043,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookTarget")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal Transform hookTarget;
@@ -1049,7 +1052,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("MoveDriection")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 moveDriection = Vector3.up;
@@ -1058,7 +1061,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookMoveSpeed")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>")]
[SerializeField]
internal float hookMoveSpeed = 1;
@@ -1067,7 +1070,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookDeclineBaseScale")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߻<EFBFBD><DFBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߻<EFBFBD><DFBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 hookDeclineBaseScale = Vector3.one;
@@ -1076,7 +1079,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookDeclineScaleUnit")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>λ")]
[SerializeField]
internal Vector3 hookDeclineScaleUnit = Vector3.down;
@@ -1085,7 +1088,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookModelDeclineMul")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>ģ<EFBFBD>͵<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD>ģ<EFBFBD>͵<EFBFBD>λ")]
[SerializeField]
internal float hookModelDeclineMul = 1;
@@ -1094,7 +1097,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookDeclineProgressLength")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*")]
[SerializeField]
public float hookDeclineProgressLength = 0;
@@ -1103,7 +1106,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("HookDeclineLength")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal float hookDeclineLength = 0;
@@ -1112,13 +1115,13 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoDecline_Transform")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBDB5>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBDB5>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal Transform cargoDeclineTransform;
[FormerlySerializedAs("EnableCargoMoveAdj")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBDB5>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBDB5>Ӧ<EFBFBD>õ<EFBFBD>λ")]
[SerializeField]
internal bool enableCargoMoveAdj = false;
@@ -1127,7 +1130,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("Cargo_Transform")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal Transform cargoTransform;
@@ -1136,7 +1139,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoBox_Transform")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[Rename("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
internal Transform cargoBoxTransform;
@@ -1145,7 +1148,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoDeclineBaseScale")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>߻<EFBFBD><DFBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD>߻<EFBFBD><DFBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Vector3 cargoDeclineBaseScale = Vector3.one;
@@ -1154,7 +1157,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoDeclineScaleUnit")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBDB5><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBDB5><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>λ")]
[SerializeField]
internal Vector3 cargoDeclineScaleUnit = Vector3.up;
@@ -1163,7 +1166,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoMoveDirction")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƶ<EFBFBD><C6B6><EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƶ<EFBFBD><C6B6><EFBFBD>λ")]
[SerializeField]
internal Vector3 cargoMoveDirction = Vector3.down;
@@ -1172,7 +1175,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoDeclineLength")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>߳<EFBFBD><DFB3><EFBFBD>*")]
[Rename("<22><><EFBFBD><EFBFBD>߳<EFBFBD><DFB3><EFBFBD>*")]
[SerializeField]
public float cargoDeclineLength = 0;
@@ -1181,7 +1184,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoArriveOffset")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
internal float cargoArriveOffset = 0;
@@ -1190,39 +1193,39 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("CargoVisibalNode_Transform")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><D3BE>ڵ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><D3BE>ڵ<EFBFBD>")]
[SerializeField]
internal Transform cargoVisibalNodeTransform;
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("б<><D0B1><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><D3BE>ڵ<EFBFBD>")]
[Rename("б<><D0B1><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><D3BE>ڵ<EFBFBD>")]
[SerializeField]
internal Transform cargoRopeNodeTransform;
[FormerlySerializedAs("_cargoRopeRecoverScale")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("б<><D0B1><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>")]
[Rename("б<><D0B1><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>")]
[SerializeField]
private Vector3 cargoRopeRecoverScale = new Vector3(.6f, .4f, 1);
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>ػ<EFBFBD><D8BB><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD>ػ<EFBFBD><D8BB><EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
private Vector3 cargolocalNodeOffset;
[FormerlySerializedAs("CargoUnvisibalOffset")]
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڼ<EFBFBD>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
internal float cargoUnvisibalOffset;
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>λ")]
[SerializeField]
internal float cargoSizeScaleUnit = 100;
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8>")]
[SerializeField]
public Vector3 cargoSize = Vector3.one;
@@ -1235,7 +1238,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("Material")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal Material material;
@@ -1244,7 +1247,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("AreaContorller")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><>Χָʾ<D6B8><CABE>")]
[Rename("<22><>Χָʾ<D6B8><CABE>")]
[SerializeField]
[Obsolete("<22><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>з<EFBFBD>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD>ָʾ<D6B8><CABE><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶβ<D6B6><CEB2><EFBFBD>ʹ<EFBFBD><CAB9>")]
internal TowerAreaSampleController areaController;
@@ -1254,7 +1257,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("DiscolorTime")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>")]
[Rename("<22><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>")]
[SerializeField]
internal float discolorTime = 1;
@@ -1263,7 +1266,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("DiscolorMix")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22>Ҷ<EFBFBD><D2B6><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22>Ҷ<EFBFBD><D2B6><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal float discolorMix = 1f;
@@ -1272,7 +1275,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("IndicatorPrefb")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("ָʾ<D6B8><CABE>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>")]
[Rename("ָʾ<D6B8><CABE>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>")]
[SerializeField]
private GameObject indicatorPrefb;
@@ -1280,7 +1283,7 @@ namespace LRC
/// <20><>ΧָʾԤ<CABE><D4A4><EFBFBD><EFBFBD>
/// </summary>
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><>Χָʾ<D6B8><CABE>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>")]
[Rename("<22><>Χָʾ<D6B8><CABE>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>")]
[SerializeField]
private GameObject areaIndicatorPrefb;
@@ -1289,7 +1292,7 @@ namespace LRC
/// </summary>
[FormerlySerializedAs("TargetCargo_GamoObject")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD>")]
[SerializeField]
internal GameObject targetCargoGamoObject;
@@ -1297,7 +1300,7 @@ namespace LRC
/// Ŀ<><C4BF>
/// </summary>
[FoldoutGroup("ָʾ<D6B8><CABE>")]
[ReName("<22><>̨<EFBFBD><CCA8>λָʾ")]
[Rename("<22><>̨<EFBFBD><CCA8>λָʾ")]
[SerializeField]
internal Transform tower3DPoint;
@@ -1305,28 +1308,28 @@ namespace LRC
#region <EFBFBD><EFBFBD>ɫ
[ReName("<22><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ɫ")]
[Rename("<22><><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ɫ")]
[SerializeField]
private Color areaSelectColor = new Color(66f / 255, 185f / 255, 1, 100f / 255);
[ReName("<22><><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD>ɫ")]
[Rename("<22><><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD>ɫ")]
[SerializeField]
private Color areaDefaultColor = new Color(116f / 255, 116f / 255, 116f / 255, 100f / 255);
[ReName("<22><>Եѡ<D4B5><D1A1><EFBFBD><EFBFBD>ɫ")]
[Rename("<22><>Եѡ<D4B5><D1A1><EFBFBD><EFBFBD>ɫ")]
[SerializeField]
private Color areaLineSelectColor = new Color(20f / 255, 90f / 255, 200f / 255);
[ReName("<22><>ԵĬ<D4B5><C4AC><EFBFBD><EFBFBD>ɫ")]
[Rename("<22><>ԵĬ<D4B5><C4AC><EFBFBD><EFBFBD>ɫ")]
[SerializeField]
private Color areaLineDefaultColor = new Color(140f / 255, 140f / 255, 140f / 255);
[ReName("<22><><EFBFBD>䰲ȫ<E4B0B2><C8AB>ɫ")]
[Rename("<22><><EFBFBD>䰲ȫ<E4B0B2><C8AB>ɫ")]
[SerializeField]
private Color areaSafeColor = new Color(1, 197f / 255, 47f / 255);
[ReName("<22><><EFBFBD><EFBFBD><E4BEAF><EFBFBD><EFBFBD>ɫ")]
[Rename("<22><><EFBFBD><EFBFBD><E4BEAF><EFBFBD><EFBFBD>ɫ")]
[SerializeField]
private Color areaWarnColor = new Color(1, 169f / 255, 30f / 255, .5f);
[ReName("<22><><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD>ɫ")]
[Rename("<22><><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD><EFBFBD>ɫ")]
[SerializeField]
private Color areaDangerColor = new Color(1, 47f / 255, 47f / 255, .5f);
[ReName("ȫ<>ֲ<EFBFBD>͸<EFBFBD><CDB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ȫ<>ֲ<EFBFBD>͸<EFBFBD><CDB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
private float areaOverrideAlpha = 0.5f;
@@ -1334,16 +1337,16 @@ namespace LRC
#region ָʾ
[ReName("<22><>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
private LayerMask indicatorRTLayerMask = 0;
[ReName("<22><>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
private float indicatorRTMaxTraceLength = 10;
[ReName("<22><>ײָʾ<D6B8><CABE><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>")]
[Rename("<22><>ײָʾ<D6B8><CABE><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>")]
[SerializeField]
private float indicatorRTHitSmoothTime = 1;
[ReName("<22><>ײָʾ<D6B8><CABE>ֵʱ<D6B5><CAB1>")]
[Rename("<22><>ײָʾ<D6B8><CABE>ֵʱ<D6B5><CAB1>")]
[SerializeField]
private float indicatorRTValidEffectTime = .9f;
@@ -1352,22 +1355,22 @@ namespace LRC
#region ƫ<EFBFBD><EFBFBD>
[FoldoutGroup("ҡ<><D2A1>")]
[ReName("ҡ<><D2A1><EFBFBD><EFBFBD>תĿ<D7AA><C4BF>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("ҡ<><D2A1><EFBFBD><EFBFBD>תĿ<D7AA><C4BF>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
internal float towerRotateOffsetAngle = 0;
[FoldoutGroup("֧<><D6A7>")]
[ReName("<22><><EFBFBD><EFBFBD>֧<EFBFBD>ܾ<EFBFBD><DCBE>Ը߶<D4B8>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD>֧<EFBFBD>ܾ<EFBFBD><DCBE>Ը߶<D4B8>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
internal float towerGerminateOffsetHeight = 0;
[FoldoutGroup("С<><D0A1>")]
[ReName("С<><D0A1>Ŀ<EFBFBD><C4BF>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1>Ŀ<EFBFBD><C4BF>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
internal float trolleyTargetAbsoluteOffsetLength = 0;
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>ƫ<EFBFBD><C6AB><EFBFBD><EFBFBD>")]
[SerializeField]
internal float hookOffsetLength = 0;
@@ -1380,7 +1383,7 @@ namespace LRC
/// plcͨѶ<CDA8><D1B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ
/// </summary>
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("plcͨѶ<CDA8><D1B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ")]
[Rename("plcͨѶ<CDA8><D1B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ")]
[SerializeField]
public CanvasGroup alarmPromt;
@@ -1388,7 +1391,7 @@ namespace LRC
/// plcͨѶ<CDA8><D1B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ
/// </summary>
[FoldoutGroup("<22><><EFBFBD><EFBFBD>")]
[ReName("ƽ<><C6BD>ͼָ<CDBC><D6B8>")]
[Rename("ƽ<><C6BD>ͼָ<CDBC><D6B8>")]
[SerializeField]
public SpPointLength spPointLength;
@@ -1467,14 +1470,13 @@ namespace LRC
/// <summary>
/// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5>µIJ<C2B5><C4B2><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
[Obsolete("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>Ŀ<EFBFBD><EFBFBD><EAB2A2><EFBFBD><EFBFBD>ȫ<EFBFBD><C8AB>")]
internal Transform SampleNode
{
get
{
if (_isSampleNodeValid)
return _sampleNode;
// todo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>жϣ<EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>޸<EFBFBD>
// todo <20><><EFBFBD>ò<EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
_sampleNode = transform.GetChildren()
.FirstOrDefault(a => a.name == "Sample");
_isSampleNodeValid = _sampleNode != null;
@@ -1941,7 +1943,7 @@ namespace LRC
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õִ<C3B5><D6B4><EFBFBD>λ<EFBFBD><CEBB>
/// </summary>
/// <returns></returns>
public bool SetGraspingPointion(Vector3 pos)
public bool SetGraspingPosition(Vector3 pos)
{
if(GetGraspingPosition(pos, out var length, out var hook, out var rotate))
{

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using UnityEngine.Serialization;
using UnityEngine.UIElements;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
namespace LRC
{
@@ -18,7 +18,7 @@ namespace LRC
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ű<EFBFBD>
/// </summary>
[FormerlySerializedAs("Manager")] [ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[FormerlySerializedAs("Manager")] [Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public TowerCraneControlManager manager;
/// <summary>

View File

@@ -9,7 +9,7 @@ using UnityEngine.Pool;
using UnityEngine.Rendering;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using XericLibrary.Runtime.MacroLibrary;
namespace LRC
@@ -29,41 +29,41 @@ namespace LRC
/// <summary>
/// 管理器脚本
/// </summary>
[ReName("塔吊控制器")]
[Rename("塔吊控制器")]
public TowerCraneControlManager Manager;
/// <summary>
/// 塔支架诞生节点
/// </summary>
[ReName("塔支架生成节点")]
[Rename("塔支架生成节点")]
[SerializeField]
internal Transform BracketNode;
/// <summary>
/// 塔支架模型材质
/// </summary>
[ReName("塔支架模型材质")]
[Rename("塔支架模型材质")]
[SerializeField]
internal Material[] UnitBracketMaterial;
/// <summary>
/// 支架单位模型
/// </summary>
[ReName("塔支架模型")]
[Rename("塔支架模型")]
[SerializeField]
internal Mesh UnitBracket;
/// <summary>
/// 阵列方向
/// </summary>
[ReName("阵列方向")]
[Rename("阵列方向")]
[SerializeField]
internal Vector3 MeshDuplicateVector = Vector3.up;
/// <summary>
/// 缩放方向
/// </summary>
[ReName("缩放方向")]
[Rename("缩放方向")]
[SerializeField]
internal Vector3 MeshScaleVector = Vector3.up;
@@ -90,7 +90,7 @@ namespace LRC
/// <summary>
/// 阵列模式,否则为缩放模式
/// </summary>
[ReName("阵列填充模式")]
[Rename("阵列填充模式")]
public bool ArrayOtherwiseZoomMode = false;
/// <summary>
@@ -101,7 +101,7 @@ namespace LRC
/// <summary>
/// 在缩放模式下时,让缩放目标的原点在路径的中央
/// </summary>
[ReName("缩放原点保持在中央")]
[Rename("缩放原点保持在中央")]
public bool MakeZoomTargetOriginCentrally = false;
#endregion

View File

@@ -4,7 +4,6 @@ using System.Linq;
#if UNITY_EDITOR
using UnityEditor;
using XericLibrary.Editor;
#endif
using UnityEngine;
@@ -43,7 +42,7 @@ namespace LRC
{
if(TargetTowerManager != null)
{
TargetTowerManager.SetGraspingPointion(transform.position);
TargetTowerManager.SetGraspingPosition(transform.position);
}
}

View File

@@ -8,13 +8,17 @@ using Unity.Mathematics;
using Unity.VisualScripting;
using TMPro;
using UnityEditor.SceneManagement;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.UI;
using UnityEngine.SceneManagement;
using ZMS.Configura;
using ZMS.UI;
#endif
using UnityEngine;
using XericLibrary.Runtime.MacroLibrary;
using Object = UnityEngine.Object;
namespace LRC
@@ -257,10 +261,12 @@ namespace LRC
public Transform pathRoamingNode;
public Transform pathRoamingSettingDropdownNode;
public GameObject sampleNodePrefab;
public GameObject buttomTagPrefab;
public Transform newTowerCraneRoot;
public Transform buttomTagListContextRoot;
public bool TowersConfigsIndexOf(TowerCraneControlManager towerComponent, out int index)
{
index = -1;
@@ -284,6 +290,8 @@ namespace LRC
{
#region Value
private static TowersBeginnerGuideHelpEditor inst;
private static Texture texture_Add;
private static Texture texture_Remove;
private static Texture texture_Error;
@@ -302,8 +310,11 @@ namespace LRC
// private SerializedProperty _buildingProperty;
private SerializedProperty _pathRoamingNode;
private SerializedProperty _pathRoamingSettingDropdownNode;
private SerializedProperty _sampleNodePrefab;
private SerializedProperty _buttomTagPrefab;
private SerializedProperty _newTowerCraneRoot;
private SerializedProperty _buttomTagListContextRoot;
private Vector2 _helpGroupScrollViewVector;
private Vector2 _helpScrollViewVector;
@@ -355,7 +366,7 @@ namespace LRC
private void OnEnable()
{
script = target as TowersBeginnerGuideHelp;
inst = this;
texture_Add = (Texture)Resources.Load(@"LRC\Icon\Editor-Add");
texture_Remove = (Texture)Resources.Load(@"LRC\Icon\Editor-Remove");
@@ -366,8 +377,14 @@ namespace LRC
// _buildingProperty = serializedObject.FindProperty("Builds");
_pathRoamingNode = serializedObject.FindProperty("pathRoamingNode");
_pathRoamingSettingDropdownNode = serializedObject.FindProperty("pathRoamingSettingDropdownNode");
_sampleNodePrefab = serializedObject.FindProperty("sampleNodePrefab");
_buttomTagPrefab = serializedObject.FindProperty("buttomTagPrefab");
_newTowerCraneRoot = serializedObject.FindProperty("newTowerCraneRoot");
_buttomTagListContextRoot = serializedObject.FindProperty("buttomTagListContextRoot");
if (nullObject == null)
{
nullObject = new GameObject("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C2B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>");
@@ -388,6 +405,7 @@ namespace LRC
private void OnDisable()
{
_isEditing = false;
EndSceneEditor();
}
@@ -397,6 +415,8 @@ namespace LRC
{
if (_editorModeSwitch == 0)
AddBuildingOnSceneGUI();
else
RemoveBuildingOnSceneGUI();
}
}
@@ -437,6 +457,7 @@ namespace LRC
private const float filterWidth = 140;
private void Inspector_SearchHelp()
{
_isEditing = false;
var searchText = EditorGUILayout.TextField("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", _searchText);
var ischange = searchText != _searchText;
_searchText = searchText;
@@ -534,6 +555,7 @@ namespace LRC
private void Inspector_EditorSetting()
{
_isEditing = false;
GUILayout.Label("<22><EFBFBD><E0BCAD><EFBFBD>趨");
whatIsThisHelpDoOnce = GUILayout.Toggle(whatIsThisHelpDoOnce, "<22>Ҽ<EFBFBD><D2BC><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>Ի<EFBFBD><D4BB><EFBFBD>", buttonStyle);
GUILayout.Label("");
@@ -547,16 +569,25 @@ namespace LRC
EditorGUILayout.PropertyField(_pathRoamingSettingDropdownNode, new GUIContent("<22><><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>"));
if (script.pathRoamingSettingDropdownNode == null)
return;
goto SkipPathNode;
if (pathRoamingDropdownComponent == null)
pathRoamingDropdownComponent = script.pathRoamingSettingDropdownNode.GetComponent<TMP_Dropdown>();
GUILayout.Label("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>" + (pathRoamingDropdownComponent == null ? "<22><>Ч" : "<22><>Ч"));
SkipPathNode:
EditorGUILayout.PropertyField(_sampleNodePrefab, new GUIContent("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>ƽ<EFBFBD><C6BD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>"));
EditorGUILayout.PropertyField(_buttomTagListContextRoot, new GUIContent("<22>ײ<EFBFBD><D7B2><EFBFBD>ǩ<EFBFBD><C7A9><EFBFBD><EFBFBD>"));
EditorGUILayout.PropertyField(_buttomTagPrefab, new GUIContent("<22>ײ<EFBFBD><D7B2><EFBFBD>ǩԤ<C7A9><D4A4><EFBFBD><EFBFBD>"));
serializedObject.ApplyModifiedProperties();
}
private static TMP_Dropdown pathRoamingDropdownComponent;
private void Inspector_EditorPathRoaming()
{
_isEditing = false;
if (script.pathRoamingSettingDropdownNode == null)
return;
if (pathRoamingDropdownComponent == null)
@@ -636,6 +667,7 @@ namespace LRC
private int towerGuideEditorStep;
private void Inspector_EditorTowerGuide()
{
_isEditing = false;
GUILayout.Label($"<22><><EFBFBD>棺{towerGuideEditorStep + 1} / {TowerGuideEditorFullStep}");
switch (towerGuideEditorStep)
{
@@ -654,20 +686,25 @@ namespace LRC
#endregion
#region func
private void GUILayout_EditorToolSwitch()
{
GUILayout.BeginHorizontal();
var editorModeSwitch_now = GUILayout.Toolbar(_editorModeSwitch, new []{texture_Add, texture_Remove}, GUILayout.Width(120), GUILayout.Height(20));
if (editorModeSwitch_now != _editorModeSwitch)
{
if (editorModeSwitch_now == 1 &&
_currentInstance != null)
DestroyImmediate(_currentInstance);
_isEditing = true;
if (editorModeSwitch_now == 1)
{
if (_currentInstance != null)
DestroyImmediate(_currentInstance);
}
_editorModeSwitch = editorModeSwitch_now;
}
GUILayout.EndHorizontal();
if (editorModeSwitch_now != 0)
EditorGUILayout.HelpBox("<22><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Gizmos<6F><73><EFBFBD><EFBFBD><EFBFBD>ѿ<EFBFBD><D1BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD><DAB3><EFBFBD><EFBFBD><EFBFBD>ͼ֮<CDBC><D6AE>", MessageType.Info);
}
private BuildingCollect _currentBuildingCollect;
@@ -800,26 +837,27 @@ namespace LRC
script.newTowerCraneRoot.gameObject.GetComponent<TowerCraneControlManager>();
TowerCraneControlManager towerComponent = null;
Action CreatNewTowerNode = () =>
void CreatNewTowerNode()
{
var obj = new GameObject("new tower Crane", typeof(TowerCraneControlManager),
typeof(TowerParasite));
var obj = new GameObject("new tower Crane", typeof(TowerCraneControlManager), typeof(TowerParasite));
obj.transform.parent = script.transform;
script.newTowerCraneRoot = obj.transform;
towerComponent = GetRootObjectTowerManagerComponent();
_nowEditorTowersConfigsIndex = script.TowersConfigs.Count;
script.TowersConfigs.Add(new TowerStructureConfig(towerComponent, true));
};
Action DestroyTowerNode = () =>
CreatButtomTag(towerComponent);
}
void DestroyTowerNode()
{
towerComponent = GetRootObjectTowerManagerComponent();
if (towerComponent != null &&
script.TowersConfigsIndexOf(towerComponent, out var i))
script.TowersConfigs.RemoveAt(i);
if (towerComponent != null && script.TowersConfigsIndexOf(towerComponent, out var i)) script.TowersConfigs.RemoveAt(i);
DestroyImmediate(script.newTowerCraneRoot.gameObject);
};
}
GUILayout.Label("<22><><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD><EBBCB4>");
EditorGUILayout.PropertyField(_newTowerCraneRoot, new GUIContent("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>"));
var newTowerEnpty = script.newTowerCraneRoot == null;
@@ -844,38 +882,37 @@ namespace LRC
}
}
serializedObject.ApplyModifiedProperties();
Action CreatAnyWay = () =>
void CreatAnyWay()
{
if (GUILayout.Button("<22><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>Ŀ<EFBFBD><C4BF>"))
{
_nowEditorTowersConfigsIndex = script.TowersConfigs.Count;
script.TowersConfigs.Add(new TowerStructureConfig(towerComponent));
}
};
Action ReSearch = () =>
}
void ReSearch()
{
if (GUILayout.Button("<22><><EFBFBD>²<EFBFBD><C2B2><EFBFBD>Ŀ<EFBFBD><C4BF>"))
{
for (int i = 0; i < script.TowersConfigs.Count; i++)
{
if (script.TowersConfigs[i].target == towerComponent)
_nowEditorTowersConfigsIndex = i;
if (script.TowersConfigs[i].target == towerComponent) _nowEditorTowersConfigsIndex = i;
}
}
};
Action ClearTowerConfig = () =>
}
void ClearTowerConfig()
{
if (GUILayout.Button("<22><><EFBFBD>ջ<EFBFBD><D5BB><EFBFBD>") && EditorUtility.DisplayDialog(<><D7A2>",
"<22><><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD>ջ<EFBFBD><D5BB><EFBFBD><E6A3AC><EFBFBD><EFBFBD>֮ǰ<D6AE>Ĵ<EFBFBD><C4B4><EFBFBD>Ŀ<EFBFBD>꽫ȫ<EABDAB><C8AB>ʧȥ֧<C8A5>֣<EFBFBD><D6A3><EFBFBD><EFBFBD><EFBFBD>ζ<EFBFBD>ŵ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD>ڱ༭<DAB1><E0BCAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܽ<EFBFBD><DCBD>޷<EFBFBD><DEB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "<22>ǵ<EFBFBD>", <><C8A1>"))
if (GUILayout.Button("<22><><EFBFBD>ջ<EFBFBD><D5BB><EFBFBD>") && EditorUtility.DisplayDialog(<><D7A2>", "<22><><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD>ջ<EFBFBD><D5BB><EFBFBD><E6A3AC><EFBFBD><EFBFBD>֮ǰ<D6AE>Ĵ<EFBFBD><C4B4><EFBFBD>Ŀ<EFBFBD>꽫ȫ<EABDAB><C8AB>ʧȥ֧<C8A5>֣<EFBFBD><D6A3><EFBFBD><EFBFBD><EFBFBD>ζ<EFBFBD>ŵ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD>ڱ༭<DAB1><E0BCAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܽ<EFBFBD><DCBD>޷<EFBFBD><DEB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "<22>ǵ<EFBFBD>", <><C8A1>"))
{
script.TowersConfigs.Clear();
_nowEditorTowersConfigsIndex = -1;
}
};
}
bool valid = true;
if (newTowerEnpty)
{
@@ -1011,6 +1048,7 @@ namespace LRC
var config = _targetTowerConfig[i];
var configName = TowerStructureConfig.GetTowerCraneStructName(config);
DrawDecollator();
// <20><>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܺ<EFBFBD>ʵ<EFBFBD>ʲ<EFBFBD><CAB2><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD>кܶ࣬<DCB6><E0A3AC>֮<EFBFBD><D6AE><EFBFBD><EFBFBD>ֱ<EFBFBD>ӻ<EFBFBD>ȡ<EFBFBD><C8A1>
if (i < _targetTowerConfig.GetTargetChildCount())
{
var node = _targetTowerConfig.GetTargetChild(i);
@@ -1022,15 +1060,18 @@ namespace LRC
else
{
GUILayout.Label($"{configName}_{i + 1}: UnknownItem", _h5Style);
GUILayout.Label("<22><>ĿԽ<C4BF>", "ErrorText");
EditorGUILayout.HelpBox("<22><>ĿԽ<C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸<EFBFBD>", MessageType.Error);
}
// ѡ<><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
var type = (TowerStructureType)
GUILayout.Toolbar((int)config.Type, TowerStructureConfig.TowerStructureEnumNames);
if (GUI.changed)
_targetTowerConfig.ChangeConfigType(i, type);
if (GUILayout.Button("<22>Ƴ<EFBFBD><C6B3>ڵ<EFBFBD>") && EditorUtility.DisplayDialog(<><D7A2>","<22><><EFBFBD><EFBFBD>׼<EFBFBD><D7BC>ɾ<EFBFBD><C9BE><EFBFBD>ڵ㣬ɾ<E3A3AC><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܻᵼ<DCBB><E1B5BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޷<EFBFBD><DEB7><EFBFBD><EFBFBD><EFBFBD><EBA3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD>⣬ȷ<E2A3AC><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>","<22>ǵ<EFBFBD>", <><C8A1>"))
if (type == TowerStructureType.SampleArea && config.Node.name != "Sample")
{
EditorGUILayout.HelpBox("<22><><EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD>ΪSample<6C><65><EFBFBD><EFBFBD><EFBFBD>򽫵<EFBFBD><F2BDABB5>²<EFBFBD><C2B2>ֹ<EFBFBD><D6B9><EFBFBD>ʧЧ", MessageType.Warning);
}
if (GUILayout.Button("<22>Ƴ<EFBFBD><C6B3>ڵ<EFBFBD>") && EditorUtility.DisplayDialog(<><D7A2>","<22><><EFBFBD><EFBFBD>׼<EFBFBD><D7BC>ɾ<EFBFBD><C9BE><EFBFBD>ڵ㣬ɾ<E3A3AC><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܻᵼ<DCBB><E1B5BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޷<EFBFBD><DEB7><EFBFBD><EFBFBD><EFBFBD><EBA3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD>ҽ<EFBFBD><D2BD><EFBFBD><EFBFBD>޸<EFBFBD><DEB8><EFBFBD><EFBFBD>ͺ<EFBFBD><CDBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ㣬<DAB5><E3A3AC>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>","<22>ǵ<EFBFBD>", <><C8A1>"))
removeIndex = i;
if (GUILayout.Button("<22>߼<EFBFBD><DFBC>趨"))
{
@@ -1074,13 +1115,13 @@ namespace LRC
// <20><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>Ϊ
// ģ<><C4A3>1
GUILayout.Label("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˼<EFBFBD><CBBC>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD><EFBFBD>Ҫʵ<D2AA><CAB5>ɶ<EFBFBD><C9B6>");
if (GUILayout.Button("<22><>һ<EFBFBD><D2BB>"))
towerGuideEditorStep--;
}
private int _foldIndex = 0;
private int _foldIndex = -1;
private bool _refresh; // <20><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ǣ<EFBFBD><C7A3><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// <summary>
/// <20><>ǰ<EFBFBD>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӽڵ<D3BD><DAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@@ -1097,10 +1138,19 @@ namespace LRC
/// <summary>
/// <20><>ǰ<EFBFBD>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
private int _nowSelectToolbar;
private int _nowSelectToolbar;
private static List<Object> _meshPortion_Stand = new List<Object>();
private static List<Object> _meshMaterial_StandSelect = new List<Object>();
private static List<Object> _meshMaterial_StandUnselect = new List<Object>();
private static List<Object> _meshPortion_Arm = new List<Object>();
private static List<Object> _meshMaterial_ArmSelect = new List<Object>();
private static List<Object> _meshMaterial_ArmUnselect = new List<Object>();
private static List<Object> _meshPortion_Other = new List<Object>();
private static List<Object> _meshMaterial_OtherSelect = new List<Object>();
private static List<Object> _meshMaterial_OtherUnselect = new List<Object>();
private void GUILayout_TowerGuideStep4()
{
Object obj = null;
if (_targetTowerConfig.IsNull())
{
EditorGUILayout.HelpBox("<22><><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EAB2BB><EFBFBD>ڣ<EFBFBD>", MessageType.Error);
@@ -1119,14 +1169,14 @@ namespace LRC
*/
// <20><>ǰ<EFBFBD>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ǵ<EFBFBD><C7B5><EFBFBD>if<69><66><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڽ<EFBFBD>β<EFBFBD><CEB2><EFBFBD><EFBFBD> EditorGUILayout.EndFoldoutHeaderGroup();
Func<int, string, bool> BeginMultipleChoiceFoldoutHeaderGroup = (fold, n) =>
bool BeginMultipleChoiceFoldoutHeaderGroup(int fold, string n)
{
_foldIndex = EditorGUILayout.BeginFoldoutHeaderGroup(_foldIndex == fold, n) ? fold : _foldIndex;
return _foldIndex == fold;
};
// <20><>ǰ<EFBFBD><C7B0>Ŀ<EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>ѡ<EFBFBD><D1A1>
Action<int, TowerStructureType> CheckNowFoldGroup = (fold, type) =>
}
// <20><>ǰ<EFBFBD><C7B0>Ŀ<EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>
void CheckNowFoldGroup(int fold, TowerStructureType type)
{
if (_nowTypeGroupFold != fold)
{
@@ -1145,10 +1195,10 @@ namespace LRC
}
}
}
};
}
// <20><><EFBFBD>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD>ڵ㰴ť<E3B0B4><C5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD>б<EFBFBD>
Action<int, TowerStructureType> GUILayout_ShowConsistentNode = (fold, type) =>
void GUILayoutShowConsistentNode(int fold, TowerStructureType type)
{
var name = TowerStructureConfig.GetTowerCraneStructName(type);
if (_nowTypeGroupArray.Length < 1)
@@ -1158,21 +1208,23 @@ namespace LRC
{
_nowTypeGroupArray = new int[] { _targetTowerConfig.Count };
_targetTowerConfig.AddTransformNodeAsMyChildConfig(new GameObject("new Node").transform, type);
// _nowSelectToolbar = _targetTowerConfig.GetStepSelectType(fold); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E2B2BD>ʲô<CAB2><C3B4>˼<EFBFBD><CBBC>
// _nowSelectToolbar = _targetTowerConfig.GetStepSelectType(fold); // <20>þ<EFBFBD>ûд<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʲô<EFBFBD><EFBFBD>˼<EFBFBD><EFBFBD>
_nowSelectToolbar = 0;
_nowTypeGroupNames = new string[] { _targetTowerConfig[_nowSelectToolbar].Node.name };
}
return;
}
if (_nowTypeGroupArray.Length > 1)
{
GUILayout.Label($"<22><><EFBFBD>ڶ<EFBFBD><DAB6><EFBFBD>ʹ<EFBFBD><CAB9>{name}<7D><><EFBFBD>ǵĽڵ㣬<DAB5><E3A3AC><EFBFBD>ֶ<EFBFBD>ָ<EFBFBD><D6B8>");
_nowSelectToolbar = GUILayout.Toolbar(_nowSelectToolbar, _nowTypeGroupNames);
}
};
}
// <20><><EFBFBD>鵱ǰ<E9B5B1>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>Ч
Func<bool> CheckNowSelectConfigNodeIndexValid = () =>
bool CheckNowSelectConfigNodeIndexValid()
{
if (_nowSelectToolbar >= 0 && _nowSelectToolbar < _nowTypeGroupArray.Length)
{
@@ -1184,8 +1236,9 @@ namespace LRC
}
return false;
};
// <20><><EFBFBD>鵱ǰ<E9B5B1>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
Func<bool> CheckNowSelectConfigNodeIndexValidWithReport = () =>
bool CheckNowSelectConfigNodeIndexValidWithReport()
{
if (_nowSelectToolbar >= 0 && _nowSelectToolbar < _nowTypeGroupArray.Length)
{
@@ -1195,17 +1248,88 @@ namespace LRC
return true;
}
}
EditorGUILayout.HelpBox($"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>̷<EFBFBD><CCB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>({_nowSelectToolbar}/{_nowTypeGroupArray.Length})",
MessageType.Error);
EditorGUILayout.HelpBox($"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>̷<EFBFBD><CCB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>({_nowSelectToolbar}/{_nowTypeGroupArray.Length})", MessageType.Error);
return false;
};
}
// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD>۵<EFBFBD><DBB5><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>Ľڵ<C4BD>
Func<TowerStructure> GetNowSelectConfigNode = () => _targetTowerConfig[_nowTypeGroupArray[_nowSelectToolbar]];
TowerStructure GetNowSelectConfigNode() => _targetTowerConfig[_nowTypeGroupArray[_nowSelectToolbar]];
Transform CreatMeshNode(string name, Transform parent, Mesh mesh)
{
var node = new GameObject(name, typeof(MeshFilter), typeof(MeshRenderer));
node.transform.parent = parent;
var meshNode = node.GetComponent<MeshFilter>();
meshNode.mesh = mesh;
return node.transform;
}
// <20><>ʾһ<CABE><D2BB>ģ<EFBFBD>ͺͲ<CDBA><CDB2><EFBFBD><EFBFBD>б<EFBFBD>
void CanAddMeshEditorList(List<Object> meshes, List<Object> materials, List<Object> unselect)
{
if (GUILayout.Button("<22><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>"))
{
meshes.Add(null);
materials.Add(null);
unselect.Add(null);
}
if (meshes.Count <= 0)
EditorGUILayout.HelpBox("<22><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ģ<EFBFBD><C4A3>", MessageType.Warning);
else
{
if (GUILayout.Button("<22><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>"))
{
meshes.RemoveAt(meshes.Count - 1);
materials.RemoveAt(materials.Count - 1);
unselect.RemoveAt(materials.Count - 1);
}
for (int i = 0; i < meshes.Count; i++)
{
meshes[i] = EditorGUILayout.ObjectField(i <= 0 ? "<22><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>" : "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" + i, meshes[i], typeof(Mesh));
materials[i] = EditorGUILayout.ObjectField(i <= 0 ? "ѡ<>в<EFBFBD><D0B2><EFBFBD>" : "ѡ<><D1A1>" + i, materials[i], typeof(Material));
unselect[i] = EditorGUILayout.ObjectField(i <= 0 ? <>ϲ<EFBFBD><CFB2><EFBFBD>" : <><C4AC>" + i, unselect[i], typeof(Material));
DrawDecollator();
}
}
}
void ShowCreatListGroup(string baseName, string nodeName, List<Object> meshes, List<Object> materials, List<Object> unSelectmaterials, Action<Transform> creatInit, TowerStructureType type = 0)
{
DrawDecollator();
CanAddMeshEditorList(meshes, materials, unSelectmaterials);
if (meshes.Count > 0 &&
GUILayout.Button("<22><><EFBFBD><EFBFBD>" + baseName) &&
meshes[0] != null)
{
var standNode = CreatMeshNode(nodeName, _targetTowerConfig.target.transform, (Mesh)meshes[0]);
_targetTowerConfig.AddTransformNodeAsMyChildConfig(standNode, type);
creatInit?.Invoke(standNode);
for (int i = 1; i < meshes.Count; i++)
if (meshes[i] != null)
CreatMeshNode(meshes[i].name, standNode, (Mesh)meshes[0]);
}
if (GUILayout.Button($"<22>Ƴ<EFBFBD>һ<EFBFBD><D2BB>{baseName}"))
{
foreach (var child in _targetTowerConfig.target.transform.GetChildren())
{
var standNode = child.GetComponent<TowerGerminate>();
if (standNode == null)
continue;
DestroyImmediate(standNode.gameObject);
break;
}
}
DrawDecollator();
}
const int fold0 = 10;
const int fold0 = -1;
if(BeginMultipleChoiceFoldoutHeaderGroup(fold0, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>趨"))
{
var towerRealIndex = EditorGUILayout.IntField("<22><>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>(ID)", _targetTowerConfig.target.TowerRealIndex);
@@ -1214,7 +1338,8 @@ namespace LRC
if (_allTowers
.FirstOrDefault(a
=> a.TowerRealIndex == towerRealIndex && a != _targetTowerConfig.target) != null)
EditorGUILayout.HelpBox("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBB3A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", MessageType.Info);
EditorGUILayout.HelpBox("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBB3A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ψһ<EFBFBD><EFBFBD>", MessageType.Warning);
}
EditorGUILayout.EndFoldoutHeaderGroup();
@@ -1222,10 +1347,9 @@ namespace LRC
if (BeginMultipleChoiceFoldoutHeaderGroup(fold1, "<22><EFBFBD><E8B6A8><EFBFBD><EFBFBD>֧<EFBFBD>ܲ<EFBFBD><DCB2><EFBFBD>"))
{
CheckNowFoldGroup(fold1, TowerStructureType.Stand);
GUILayout_ShowConsistentNode(fold1, TowerStructureType.Stand);
GUILayoutShowConsistentNode(fold1, TowerStructureType.Stand);
if (!CheckNowSelectConfigNodeIndexValidWithReport())
goto SkipFold1;
var targetStructure = GetNowSelectConfigNode();
if (GUILayout.Button($"<22><>Ϊ֧<CEAA>ܸ<EFBFBD>(<28><><EFBFBD>ɲ<EFBFBD><C9B2><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD>ܹ<EFBFBD><DCB9><EFBFBD><EFBFBD><EFBFBD>)"))
{
@@ -1240,21 +1364,36 @@ namespace LRC
_targetTowerConfig.target.TowerGerminate =
GetNowSelectConfigNode().Node.AddComponent<TowerGerminate>();
}
SkipFold1:
obj = EditorGUILayout.ObjectField("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", null, typeof(Mesh));
// if(GUI.changed)
ShowCreatListGroup(<>ܽڵ<DCBD>", "new Stand Node",
_meshPortion_Stand,
_meshMaterial_StandSelect,
_meshMaterial_StandUnselect,
a =>
{
var towerGerminate = a.AddComponent<TowerGerminate>();
towerGerminate.Manager = _targetTowerConfig.target;
towerGerminate.BracketNode = a.transform;
},
type: TowerStructureType.Stand);
}
SkipFold1:
EditorGUILayout.EndFoldoutHeaderGroup();
const int fold2 = (int)TowerStructureType.RockerArm;
if(BeginMultipleChoiceFoldoutHeaderGroup(fold2, "<22><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۲<EFBFBD><DBB2><EFBFBD>"))
{
CheckNowFoldGroup(fold2, TowerStructureType.RockerArm);
GUILayout_ShowConsistentNode(fold2, TowerStructureType.RockerArm);
GUILayoutShowConsistentNode(fold2, TowerStructureType.RockerArm);
if (_nowTypeGroupArray.Length > 1)
EditorGUILayout.HelpBox("<22><>ǰ<EFBFBD><C7B0><EFBFBD>۽ڵ<DBBD><DAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><><D4AD>ֻ֧<D6BB><D6A7>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>Ŀ<EFBFBD><C4BF>", MessageType.Warning);
ShowCreatListGroup("<22><><EFBFBD>۽ڵ<DBBD>", "new Arm Node",
_meshPortion_Arm,
_meshMaterial_ArmSelect,
_meshMaterial_ArmUnselect,
null,
type: TowerStructureType.RockerArm);
}
EditorGUILayout.EndFoldoutHeaderGroup();
@@ -1262,8 +1401,14 @@ namespace LRC
if(BeginMultipleChoiceFoldoutHeaderGroup(fold3, "ƽ<><C6BD>ͼ<EFBFBD>趨"))
{
CheckNowFoldGroup(fold3, TowerStructureType.SampleArea);
GUILayout_ShowConsistentNode(fold3, TowerStructureType.SampleArea);
GUILayoutShowConsistentNode(fold3, TowerStructureType.SampleArea);
if (GUILayout.Button($"<22><><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>"))
{
_targetTowerConfig.AddTransformNodeAsMyChildConfig(
Instantiate(script.sampleNodePrefab, script.transform).transform,
TowerStructureType.SampleArea);
}
}
EditorGUILayout.EndFoldoutHeaderGroup();
@@ -1271,7 +1416,14 @@ namespace LRC
if(BeginMultipleChoiceFoldoutHeaderGroup(fold4, "<22><><EFBFBD><EFBFBD><EFBFBD>趨"))
{
CheckNowFoldGroup(fold4, TowerStructureType.Other);
GUILayout_ShowConsistentNode(fold4, TowerStructureType.Other);
GUILayoutShowConsistentNode(fold4, TowerStructureType.Other);
ShowCreatListGroup("<22><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>", "new other Node",
_meshPortion_Other,
_meshMaterial_OtherSelect,
_meshMaterial_OtherUnselect,
null,
type: TowerStructureType.Other);
}
EditorGUILayout.EndFoldoutHeaderGroup();
@@ -1289,6 +1441,23 @@ namespace LRC
return false;
}
private void CreatButtomTag(TowerCraneControlManager tower)
{
if (script.buttomTagListContextRoot != null)
{
int undoGroup = Undo.GetCurrentGroup();
var tag = PrefabUtility.InstantiatePrefab(script.buttomTagPrefab,
script.buttomTagListContextRoot);
var toggle = tag.GetComponent<TowerItemTagToggle>();
toggle.towerParasiteIns = tower.GetComponent<TowerParasite>();
Undo.CollapseUndoOperations(undoGroup);
}
else
Debug.LogError("<22>ײ<EFBFBD><D7B2><EFBFBD>ǩδ<C7A9>ܴ<EFBFBD><DCB4><EFBFBD>");
}
#endregion
@@ -1310,6 +1479,7 @@ namespace LRC
switch (Event.current.keyCode)
{
case KeyCode.Escape:
_isEditing = false;
EndSceneEditor();
break;
case KeyCode.R:
@@ -1364,12 +1534,22 @@ namespace LRC
// prop.serializedObject.ApplyModifiedProperties();
Undo.CollapseUndoOperations(undoGroup);
CreatButtomTag(towerComponent);
}
}
}
}
private void RemoveBuildingOnSceneGUI()
{
Handles.DrawSolidDisc(Vector3.up, Vector3.up, 5);
}
private void StartSceneEditor()
{
if (!_isEditing)
@@ -1389,10 +1569,8 @@ namespace LRC
private void EndSceneEditor()
{
_isEditing = false;
if (_currentInstance != null)
DestroyImmediate(_currentInstance);
}
private static bool whatIsThisHelpDoOnce;
@@ -1431,7 +1609,30 @@ namespace LRC
break;
}
}
}
}
[MenuItem("Assets/Create/Tower Crane Visualization/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ճ<EFBFBD><D5B3><EFBFBD>")]
private static void CreatScene()
{
string GetNewScenePath()
{
string defaultPath = "New Scene.unity";
string newScenePath = EditorUtility.SaveFilePanelInProject("<22><><EFBFBD><EFBFBD><EFBFBD>³<EFBFBD><C2B3><EFBFBD>", defaultPath, "unity", "<22><EFBFBD><EBB1A3><EFBFBD>³<EFBFBD><C2B3><EFBFBD>");
return newScenePath;
}
// ʹ<><CAB9>EditorSceneManager<65><72><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><E8B3A1><EFBFBD><EFBFBD><EFBFBD>µı<C4B1><E0BCAD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects, NewSceneMode.Additive);
EditorSceneManager.OpenScene("Assets\\LRC\\Scene\\OriginSceneSample.unity");
// <20><><EFBFBD><EFBFBD><EFBFBD>³<EFBFBD><C2B3><EFBFBD>
string newScenePath = GetNewScenePath();
if (!string.IsNullOrEmpty(newScenePath))
{
EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene(), newScenePath);
AssetDatabase.Refresh();
}
}
#endregion

View File

@@ -13,7 +13,7 @@ namespace LRC
public string MessageTitle = "<22><>ײԤ<D7B2><D4A4>";
public string MessageContext = "@<40><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײ<EFBFBD><D7B2><EFBFBD><EFBFBD>";
private string messagecontext => MessageContext.Replace("@", TowerTarget.TowerName);
private string messagecontext => MessageContext.Replace("@", TowerName);
#endregion

View File

@@ -13,6 +13,8 @@ namespace LRC
/// </summary>
public TowerCraneControlManager TowerTarget;
public string TowerName => TowerTarget == null ? "unknown Tower" : TowerTarget.TowerName;
#endregion
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@@ -20,13 +22,13 @@ namespace LRC
protected virtual void OnCollisionEnter(Collision collision)
{
Debug.Log($"{transform?.parent.parent.name}/{transform?.parent.name}/{transform.name}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײ");
TopWarningMessageManager.Inst.CollisionDangerMessage(TowerTarget.TowerName, TowerTarget.gameObject);
TopWarningMessageManager.Inst.CollisionDangerMessage(TowerName, TowerTarget.gameObject);
}
protected virtual void OnTriggerEnter(Collider other)
{
Debug.Log($"{transform?.parent.parent.name}/{transform?.parent.name}/{transform.name}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ײ");
TopWarningMessageManager.Inst.CollisionWarnMessage(TowerTarget.TowerName, TowerTarget.gameObject);
TopWarningMessageManager.Inst.CollisionWarnMessage(TowerName, TowerTarget.gameObject);
}
#endregion

View File

@@ -6,7 +6,6 @@ using Unity.Mathematics;
using UnityEngine;
using UnityEngine.Serialization;
using Xeric.Runtime.MicroLibrary;
using XericLibrary.Runtime.MacroLibrary;
namespace LRC
{
@@ -70,7 +69,7 @@ namespace LRC
set
{
if (value)
transform.localRotation = quaternion.identity;
transform.localRotation = Quaternion.identity;
else
transform.localRotation = defaultRotation;
_enableAutoRotate = value;

View File

@@ -79,9 +79,18 @@ public class DebugMode : MonoBehaviour
inputBuffer = "";
return;
}
if (inputBuffer.Contains("debugmode"))
switch (inputBuffer)
{
EnterDebugMode();
case "debugmode":
EnterDebugMode();
break;
case "hello":
ScreenPromptMessageManager.Inst.GenMessage($"<22><><EFBFBD><EFBFBD>");
break;
case "help":
ScreenPromptMessageManager.Inst.GenMessage($"<22><><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD>ʦ<EFBFBD><CAA6>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>");
break;
}
}

View File

@@ -8,7 +8,7 @@ using System.Runtime.InteropServices.WindowsRuntime;
using UnityEngine;
using UnityEngine.Serialization;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using TMPro;
namespace LRC
@@ -23,7 +23,7 @@ namespace LRC
/// <20><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>
/// </summary>
[FormerlySerializedAs("LiftHeightSlider")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>߶Ƚ<DFB6><C8BD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>߶Ƚ<DFB6><C8BD><EFBFBD>")]
public List<LineSliderController> liftHeightSlider;
public bool AutoSetLiftHeightSlider = true;
public bool UseLocalLiftHeightValue = false;
@@ -35,7 +35,7 @@ namespace LRC
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
[FormerlySerializedAs("AmplitudeSlider")]
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public List<LineSliderController> amplitudeSlider;
public bool AutoSetAmplitudeSlider = true;
public bool UseLocalAmplitudeValue = false;
@@ -46,7 +46,7 @@ namespace LRC
/// <20><>ת<EFBFBD>Ƕ<EFBFBD>
/// </summary>
[FormerlySerializedAs("RotateAngelSlider")]
[ReName("<22><>ת<EFBFBD>Ƕ<EFBFBD>")]
[Rename("<22><>ת<EFBFBD>Ƕ<EFBFBD>")]
public List<CircelSliderController> rotateAngelSlider;
public bool AutoSetRotateAngle = true;
public bool UseLocalRotateValue = false;

View File

@@ -8,7 +8,7 @@ using Newtonsoft.Json;
using Quality;
using UnityEngine;
using UnityEngine.UI;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using XericLibrary.Runtime.MacroLibrary;
using ZMS;
using ZMS.TCPMassage;
@@ -146,41 +146,41 @@ namespace LRC
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϣ<EFBFBD><CFA3>ij<EFBFBD><C4B3><EFBFBD>ֶα<D6B6><CEB1><EFBFBD><EFBFBD><EFBFBD><E6A3AC>ôֻ<C3B4><D6BB>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֶ<EFBFBD>Ϊreadonly<6C><79>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>readonly<6C><79><EFBFBD>ֶν<D6B6><CEBD><EFBFBD>ÿ<EFBFBD>μ<EFBFBD><CEBC><EFBFBD>ʱʹ<CAB1><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFB6A8><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC>ֵ<EFBFBD><D6B5>
*/
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>ȼ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>ȼ<EFBFBD>")]
public Quality.QualityLevel QualityLevel = 0;
[ReName("<22>Զ<EFBFBD><D4B6>۽<EFBFBD>")]
[Rename("<22>Զ<EFBFBD><D4B6>۽<EFBFBD>")]
public bool FocusApply = false;
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[FieldHelp("ע<><EFBFBD><E2A3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>")]
public bool BuildingOutline = false;
[ReName("<22><><EFBFBD><EFBFBD>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[FieldHelp("ע<><EFBFBD><E2A3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>")]
public bool BuildingFenceOutline = false;
// [ReName("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۽<EFBFBD><DBBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD><DEB9><EFBFBD><EFBFBD><EFBFBD>")]
// [Rename("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۽<EFBFBD><DBBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD><DEB9><EFBFBD><EFBFBD><EFBFBD>")]
// public bool AutoHideUncorrelatedTowerWithMyFocus = true;
//
// [ReName("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۽<EFBFBD><DBBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD>ƽ<EFBFBD><C6BD>ͼ")]
// [Rename("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>۽<EFBFBD><DBBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޹<EFBFBD>ƽ<EFBFBD><C6BD>ͼ")]
// public bool AutoHideUncorrelatedTowerIndicatorWithMyFocus = true;
//
// [ReName("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>ͼ")]
// [Rename("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD>ͼ")]
// public bool AutoHideTowerIndicatorLookIrrelevantWithMyFocus = true;
[ReName("<22>޵<EFBFBD><DEB5><EFBFBD>ʱʹ<CAB1>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22>޵<EFBFBD><DEB5><EFBFBD>ʱʹ<CAB1>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public bool UseHookInsteadRayCollision = true;
[ReName("ȫ<>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>ߴ<EFBFBD>")]
[Rename("ȫ<>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>ߴ<EFBFBD>")]
[FieldHelp("ע<><EFBFBD><E2A3BA>дʱ<D0B4><CAB1>ά<EFBFBD><CEAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD><30><EFBFBD>޸Ĵ<DEB8><C4B4><EFBFBD><EEB2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><D3BE><EFBFBD><E4BBAF>")]
public VectorCustom3 HookSize = new VectorCustom3(1.614683f, 0.451492f, 1.94762f);
// [ReName("<22><><EFBFBD>ö<EFBFBD><C3B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
// [Rename("<22><><EFBFBD>ö<EFBFBD><C3B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
// [FieldHelp("ע<><EFBFBD><E2A3BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD><D4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܷ<EFBFBD><DCB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Աȷ<D4B1>ϡ<EFBFBD>")]
// public bool EnableEasingAnimatedAppearance = false;
[ReName("<22><><EFBFBD><EFBFBD>С<EFBFBD><D0A1>ͼ<EFBFBD><CDBC>ת")]
[Rename("<22><><EFBFBD><EFBFBD>С<EFBFBD><D0A1>ͼ<EFBFBD><CDBC>ת")]
public bool EnableMiniMapFollowMainCameraRotate = false;
}
@@ -235,7 +235,7 @@ namespace LRC
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>Ŀ<EFBFBD><C4BF>գ<EFBFBD><D5A3><EFBFBD><EFBFBD>ڱȶ<DAB1><C8B6>޸<EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD>Щֵ
/// </summary>
private SystemConfig _configSnapShoot = null;
private ConfigData _configSnapShoot = null;
private bool _enablePanel = false;
@@ -395,19 +395,20 @@ namespace LRC
SetDropdownData();
ConfigSelectableItem.ForceUpdateAll(resetDirty: true);
// SaveLocalConfigFile();
#if UNITY_EDITOR
Debug.Log("<22><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˢ<EFBFBD><CBA2>");
#if UNITY_EDITOR
// Debug.Log("<22><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˢ<EFBFBD><CBA2>");
#endif
}
#if UNITY_EDITOR
else
Debug.LogError("<22><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD>ܳ<EFBFBD>ʼ<EFBFBD><CABC>");
// else
// Debug.LogError("<22><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD>ܳ<EFBFBD>ʼ<EFBFBD><CABC>");
#endif
}
};
Debug.Log("<22><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
ConfigSelectableItem.ForceUpdateAll(resetDirty: true, forceSet: true);
// <20><>Ϊ<EFBFBD><CEAA>ˢ<EFBFBD><CBA2>
SavePanel(false);
}
@@ -596,7 +597,7 @@ namespace LRC
}
configSelectableItem = obj.GetComponent<ConfigSelectableItem>();
ReNameAttribute.TryGetMemberName(field, out var name);
RenameAttribute.TryGetMemberName(field, out var name);
configSelectableItem.TitleName = name;
if (FieldHelpAttribute.TryGetMemberName(field, out var help))
configSelectableItem.HelpName = help;
@@ -615,7 +616,7 @@ namespace LRC
{
var obj = GameObject.Instantiate(dropdownFieldConfigItem, parent);
configSelectableItem = obj.GetComponent<ConfigSelectableItem>();
ReNameAttribute.TryGetMemberName(field, out var name);
RenameAttribute.TryGetMemberName(field, out var name);
configSelectableItem.TitleName = name;
configSelectableItem.HelpName = null;
}
@@ -814,17 +815,57 @@ namespace LRC
/// </summary>
private void SystemSetting()
{
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD>˼<EFBFBD>ǵ<EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч
var skip = _configSnapShoot == null;
// <20><><EFBFBD><EFBFBD>һЩ<D2BB><D0A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (!skip)
{
// <20><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD>ȼ<EFBFBD>
if (_configSnapShoot.QualityLevel != Data.SystemConfig.QualityLevel)
PerformanceSettings.SetQualitySettings(Data.SystemConfig.QualityLevel);
bool isChange = false;
for (int i = 0; i < _configSnapShoot.TowerConfigData.Count; i++)
{
var towerConfigSnapShoot = _configSnapShoot.TowerConfigData[i];
var towerConfigValid = i < Data.TowerConfigData.Count;
var towerConfig = towerConfigValid ? Data.TowerConfigData[i] : null;
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>
if (!towerConfigValid)
continue;
// <20>޸Ĺ<DEB8><C4B9><EFBFBD>
if (towerConfig.hide == towerConfigSnapShoot.hide)
continue;
// <20><><EFBFBD>Կ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>
if (TowerCraneControlManager.AllTowers
.FirstOrDefault(a
=> a.TowerRealIndex == towerConfig.code) == null)
continue;
var towerToggle = DownUI.Inst.GetActiveTowerToggleByIndex(towerConfig.code);
if (towerToggle != null)
{
isChange = true;
towerToggle.gameObject.SetActive(!towerConfig.hide);
}
}
if (isChange)
DownUI.Inst.UpdateCenterJudgment();
}
// ==== <20><><EFBFBD><EFBFBD>ϵͳ<CFB5>趨 ==== //
// <20><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD>ȼ<EFBFBD>
if (skip || _configSnapShoot.SystemConfig.QualityLevel != Data.SystemConfig.QualityLevel)
PerformanceSettings.SetQualitySettings(Data.SystemConfig.QualityLevel);
// <20>Զ<EFBFBD><D4B6><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (skip || _configSnapShoot.BuildingOutline != Data.SystemConfig.BuildingOutline ||
_configSnapShoot.BuildingFenceOutline != Data.SystemConfig.BuildingFenceOutline)
if (skip || _configSnapShoot.SystemConfig.BuildingOutline != Data.SystemConfig.BuildingOutline ||
_configSnapShoot.SystemConfig.BuildingFenceOutline != Data.SystemConfig.BuildingFenceOutline)
if (DownUI.TowerParasiteInst != null)
DownUI.TowerParasiteInst.ShowTowerNearbyBuildingOutline(Data.SystemConfig.BuildingOutline);
@@ -860,7 +901,7 @@ namespace LRC
// <20>޵<EFBFBD><DEB5><EFBFBD>ʱʹ<CAB1>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (skip || _configSnapShoot.UseHookInsteadRayCollision !=
if (skip || _configSnapShoot.SystemConfig.UseHookInsteadRayCollision !=
Data.SystemConfig.UseHookInsteadRayCollision)
{
TowerCraneControlManager.UseHookInsteadRayCollision =
@@ -888,7 +929,7 @@ namespace LRC
*/
// <20><><EFBFBD><EFBFBD>С<EFBFBD><D0A1>ͼ<EFBFBD><CDBC>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>
if (skip || _configSnapShoot.EnableMiniMapFollowMainCameraRotate !=
if (skip || _configSnapShoot.SystemConfig.EnableMiniMapFollowMainCameraRotate !=
Data.SystemConfig.EnableMiniMapFollowMainCameraRotate)
{
SampleCameraControl.Inst.EnableAutoRotate =
@@ -1009,8 +1050,8 @@ namespace LRC
private void ConfigSnapShoot()
{
_configSnapShoot =
JsonConvert.DeserializeObject<SystemConfig>(
JsonConvert.SerializeObject(Data.SystemConfig));
JsonConvert.DeserializeObject<ConfigData>(
JsonConvert.SerializeObject(Data));
}
/// <summary>
@@ -1194,9 +1235,10 @@ namespace LRC
ScreenPromptMessageManager.Inst.GenMessage($"<22><>ESC<53>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ");
}
}
HandleMessage.Inst.UpdateAllTowerAndBuildingData(Data);
HandleMessage.ForceRefreshAllTowerSetting();
HandleMessage.Inst.InitializeAllTowerConfigs(Data);
if (!HandleMessage.Inst.UpdateAllTowerAndBuildingData(Data))
HandleMessage.ForceRefreshAllTowerSetting();
DownUI.Inst.UpdateCenterJudgment();
}

View File

@@ -8,7 +8,7 @@ using TMPro;
using UnityEngine;
using UnityEngine.UI;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
namespace LRC
{

View File

@@ -7,7 +7,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine.UI;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using XericLibrary.Runtime.MacroLibrary;
using ZMS.TCPMassage;
@@ -140,20 +140,20 @@ namespace LRC
/// <summary>
/// <20><>Ŀ<EFBFBD><C4BF>Ӧ<EFBFBD>ı<EFBFBD><C4B1><EFBFBD>tag
/// </summary>
[ReName("ӳ<><D3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("ӳ<><D3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public string configTag;
/// <summary>
/// <20><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>Ч<EFBFBD><D0A7>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public bool allowInput = true;
/// <summary>
/// <20>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
/// </summary>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[SerializeField]
private bool autoUpdateValue = true;
@@ -175,23 +175,23 @@ namespace LRC
/// <summary>
/// <20><>Ŀǰ<C4BF><C7B0>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>autoUpdateValue<75><65>Ӧ
/// </summary>
[ReName("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>״̬ѡ<CCAC><D1A1>")]
[Rename("<22>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>״̬ѡ<CCAC><D1A1>")]
public Toggle autoUpdateValueToggle;
/// <summary>
/// <20><>תѡ<D7AA><D1A1>״̬
/// </summary>
[ReName("<22><>ת<EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>°<EFBFBD>ť״̬")]
[Rename("<22><>ת<EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>°<EFBFBD>ť״̬")]
public bool autoUpdateValueToggleReversalState;
[ReName("<22><>ת<EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>״̬")]
[Rename("<22><>ת<EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>״̬")]
public bool autoUpdateValueReversalState;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>λ<EFBFBD><CEBB>
/// <20><><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>¿<EFBFBD><C2BF><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>״̬
/// </summary>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>λ")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>λ")]
public bool dirtyAutoReset = false;
// ==== <20><><EFBFBD><EFBFBD> ==== //

View File

@@ -19,3 +19,4 @@ MonoBehaviour:
- {fileID: 2682946291164961741, guid: 31e3eb23c76f78444bfba5570fc26977, type: 3}
- {fileID: 6119170195406192697, guid: 74ffa1ab008b214408c4998cec750910, type: 3}
- {fileID: 2556918715931791702, guid: bc299939d4ef836489f1ba67d110eaa8, type: 3}
- {fileID: 3141856068055544938, guid: b760ac1233678144a8a1daeb699f6b69, type: 3}

View File

@@ -120,7 +120,7 @@ MonoBehaviour:
lutFormat: 48
bufferFormat: 74
dynamicResolutionSettings:
enabled: 1
enabled: 0
useMipBias: 0
enableDLSS: 1
DLSSPerfQualitySetting: 0

View File

@@ -51,7 +51,7 @@ MonoBehaviour:
probeVolumeMemoryBudget: 1024
supportProbeVolumeStreaming: 0
probeVolumeSHBands: 1
supportRayTracing: 1
supportRayTracing: 0
supportedRayTracingMode: 3
lightLoopSettings:
cookieAtlasSize: 512
@@ -120,7 +120,7 @@ MonoBehaviour:
lutFormat: 48
bufferFormat: 74
dynamicResolutionSettings:
enabled: 1
enabled: 0
useMipBias: 0
enableDLSS: 1
DLSSPerfQualitySetting: 1

View File

@@ -172,7 +172,7 @@ MonoBehaviour:
m_Value: 1
m_SampleCount:
m_OverrideState: 1
m_Value: 12
m_Value: 6
--- !u!114 &-3315835157980468525
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -563,10 +563,10 @@ MonoBehaviour:
m_Value: 64
m_VolumetricFogBudget:
m_OverrideState: 1
m_Value: 0.125
m_Value: 0.034
m_ResolutionDepthRatio:
m_OverrideState: 1
m_Value: 0.225
m_Value: 0.5
directionalLightsOnly:
m_OverrideState: 0
m_Value: 0

File diff suppressed because it is too large Load Diff

View File

@@ -386,6 +386,7 @@ MonoBehaviour:
- {fileID: 6726343302422785154}
- {fileID: -3315835157980468525}
- {fileID: 5108589739452573267}
- {fileID: 5967105632323907333}
--- !u!114 &747098994415714109
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -546,6 +547,64 @@ MonoBehaviour:
directionalLightsOnly:
m_OverrideState: 0
m_Value: 0
--- !u!114 &5967105632323907333
MonoBehaviour:
m_ObjectHideFlags: 3
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: aaa3b8214f75b354e9ba2caadd022259, type: 3}
m_Name: DepthOfField
m_EditorClassIdentifier:
active: 0
quality:
m_OverrideState: 1
m_Value: 3
focusMode:
m_OverrideState: 1
m_Value: 1
focusDistance:
m_OverrideState: 0
m_Value: 10
focusDistanceMode:
m_OverrideState: 0
m_Value: 0
nearFocusStart:
m_OverrideState: 1
m_Value: 0
nearFocusEnd:
m_OverrideState: 1
m_Value: 4
farFocusStart:
m_OverrideState: 1
m_Value: 80
farFocusEnd:
m_OverrideState: 1
m_Value: 100
m_NearSampleCount:
m_OverrideState: 1
m_Value: 3
m_NearMaxBlur:
m_OverrideState: 1
m_Value: 1
m_FarSampleCount:
m_OverrideState: 1
m_Value: 4
m_FarMaxBlur:
m_OverrideState: 1
m_Value: 7.23
m_Resolution:
m_OverrideState: 1
m_Value: 4
m_HighQualityFiltering:
m_OverrideState: 1
m_Value: 0
m_PhysicallyBased:
m_OverrideState: 1
m_Value: 0
--- !u!114 &6640133647794636954
MonoBehaviour:
m_ObjectHideFlags: 3

File diff suppressed because one or more lines are too long

View File

@@ -222,7 +222,7 @@ namespace ZMS.UI
{
yield return new WaitForEndOfFrame();
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˢ<EFBFBD>²<EFBFBD><C2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DZ<EFBFBD>Ҫ<EFBFBD>ģ<EFBFBD>zms<6D><73>ʱд<CAB1><D0B4>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>֪Ϊ<D6AA><CEAA><EFBFBD><EFBFBD>Ҫˢ<D2AA>¡<EFBFBD>
// LayoutRebuilder.ForceRebuildLayoutImmediate(scrollRect.content.GetComponent<RectTransform>());
LayoutRebuilder.ForceRebuildLayoutImmediate(scrollRect.content.GetComponent<RectTransform>());
// Debug.Log($"{scrollRect.content.sizeDelta.x} / {scrollRect.viewport.sizeDelta.x}");
if (scrollRect.content.sizeDelta.x <= scrollRect.viewport.sizeDelta.x)
@@ -239,8 +239,8 @@ namespace ZMS.UI
scrollRect.viewport.GetComponent<HorizontalLayoutGroup>().enabled = false;
// scrollRect.enabled = true;
}
// LayoutRebuilder.ForceRebuildLayoutImmediate(scrollRect.content.GetComponent<RectTransform>());
// LayoutRebuilder.ForceRebuildLayoutImmediate(scrollRect.viewport.GetComponent<RectTransform>());
LayoutRebuilder.ForceRebuildLayoutImmediate(scrollRect.content.GetComponent<RectTransform>());
LayoutRebuilder.ForceRebuildLayoutImmediate(scrollRect.viewport.GetComponent<RectTransform>());
coroutine = null;
}

View File

@@ -84,7 +84,7 @@ namespace ZMS.UI
[FormerlySerializedAs("twoGroup")]
public CanvasGroup planarCanvasGroup;
public List<Toggle> rightList = new List<Toggle>();
// public List<Toggle> rightList = new List<Toggle>();
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD>ӽ<EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@@ -182,11 +182,6 @@ namespace ZMS.UI
[FormerlySerializedAs("roamLineParent")]
public Transform pathRoamingParent;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
/// </summary>
public List<BuildingControl> constructConfs = new List<BuildingControl>();
public List<Toggle> webTogList = new List<Toggle>();//<2F><>ҳtog
public Browser browser;
public TextMeshProUGUI browserName;

View File

@@ -49,7 +49,7 @@ namespace ZMS.UI
[FormerlySerializedAs("qtzSelect_Tog")]
public Toggle targetToggle;
public TowerCraneControlManager TowerCraneControlManager;
public TowerCraneControlManager TowerCraneControlManager => _towerCraneControlManager;
#endregion
@@ -57,6 +57,7 @@ namespace ZMS.UI
public void Start()
{
if (towerParasiteIns == null)
{
throw new Exception("Ŀ<><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>");
@@ -132,9 +133,9 @@ namespace ZMS.UI
Debug.Log(<><CDA8>tog<6F><67>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>");
/*
* <20><><EFBFBD><EFBFBD>ˢ<EFBFBD><CBA2><EFBFBD>ٽ<EFBFBD><D9BD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>ȷ
* <20><><EFBFBD><EFBFBD>ˢ<EFBFBD><CBA2><EFBFBD>ٽ<EFBFBD><D9BD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD>ȷ
* <20><>Ȼ<EFBFBD>ڳ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾΪ<CABE><CEAA>ɫ<EFBFBD><C9AB>
* 240315<31><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBA3AC><EFBFBD>ֺ<EFBFBD>ɫ<EFBFBD><C9AB>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD><D0B8><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD>û<EFBFBD>з<EFBFBD>װ<EFBFBD><D7B0><EFBFBD>µġ<C2B5>
* 240315<31><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBA3AC><EFBFBD>ֺ<EFBFBD>ɫ<EFBFBD><C9AB>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD><D0B8><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD>û<EFBFBD>з<EFBFBD>װ<EFBFBD><D7B0><EFBFBD>µġ<C2B5><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD><EFBFBD><EFBFBD>Ҫˢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/
// towerCraneControlManager.ReCalculateProximity();

View File

@@ -8,7 +8,7 @@ using TMPro;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.Serialization;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
using ZMS.UI;
namespace ZMS.CamareCustomUSE
@@ -55,13 +55,13 @@ namespace ZMS.CamareCustomUSE
/// <summary>
/// <20>۽<EFBFBD><DBBD>ٶ<EFBFBD>
/// </summary>
[ReName("<22>۽<EFBFBD><DBBD>ٶ<EFBFBD>")]
[Rename("<22>۽<EFBFBD><DBBD>ٶ<EFBFBD>")]
public float speed = 10f;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>
/// </summary>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>")]
public float angleSpeed = 0.1f;

View File

@@ -10,6 +10,7 @@ using UnityEditor;
#endif
using UnityEngine;
using UnityEngine.Serialization;
using XericLibrary.Runtime.CustomEditor;
namespace ZMS.Configura
{
@@ -20,8 +21,8 @@ namespace ZMS.Configura
{
#region <EFBFBD><EFBFBD>̬<EFBFBD>ֶ<EFBFBD>
private List<BuildingControl> allBuilds;
public List<BuildingControl> AllBuilds => allBuilds;
private static List<BuildingControl> allBuilds;
public static List<BuildingControl> AllBuilds => allBuilds;
#endregion
@@ -35,44 +36,49 @@ namespace ZMS.Configura
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>壨¥<E5A3A8><C2A5><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>
/// </summary>
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public Transform mainStructure;
/// <summary>
/// <20><><EFBFBD><EFBFBD>װ<EFBFBD>ν
/// </summary>
[Rename("<22><><EFBFBD><EFBFBD>װ<EFBFBD><D7B0>")]
[SerializeField]
[FormerlySerializedAs("structureUp")]
private Transform topStructure;
/// <summary>
/// <20>ⲿ<EFBFBD><E2B2BF>Χ
/// </summary>
[Rename("<22><>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD>")]
[SerializeField]
[FormerlySerializedAs("protection")]
private Transform structureSurround;
/// <summary>
/// ѡ<>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD>ʽ
/// </summary>
[SerializeField]
[FormerlySerializedAs("material_SelectBOB")]
private Material materialSelectBob;
private MeshRenderer _meshRenderer;//<2F><><EFBFBD><EFBFBD>Render
/// <summary>
/// Ĭ<>ϲ<EFBFBD><CFB2><EFBFBD><EFBFBD><EFBFBD>ʽ
/// </summary>
[Rename("Ĭ<>ϲ<EFBFBD><CFB2><EFBFBD>")]
[SerializeField]
[FormerlySerializedAs("material_NotSelectBOB")]
private Material materialNotSelectBob;
/// <summary>
/// ѡ<>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD>ʽ
/// </summary>
[Rename("<22><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>")]
[SerializeField]
private MeshRenderer meshRenderer;//<2F><><EFBFBD><EFBFBD>Render
[FormerlySerializedAs("material_SelectBOB")]
private Material materialSelectBob;
/// <summary>
/// Χ<><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
[Rename("Χ<><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
private GameObject fenceLine;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B9B4>Ŀ<EFBFBD><C4BF>")]
[SerializeField]
private GameObject bodyLine;
@@ -81,6 +87,11 @@ namespace ZMS.Configura
/// </summary>
public GameObject numberText;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫ<EFBFBD><C6AB>
/// </summary>
public Vector3 numberTextPosition;
/// <summary>
/// <20><><EFBFBD>Ÿ߶<C5B8>
/// </summary>
@@ -112,9 +123,12 @@ namespace ZMS.Configura
if (allBuilds == null)
allBuilds = new List<BuildingControl>();
allBuilds.Add(this);
_meshRenderer = structureSurround.GetComponent<MeshRenderer>();
_number = Instantiate(numberText, transform).GetComponent<BuildingNumberText>();
_number.ID = code;
_number.transform.localPosition = numberTextPosition +
Vector3.forward * numberAddHeight;
}
#endregion
@@ -175,7 +189,8 @@ namespace ZMS.Configura
var pos = new Vector3(tsLocalPos.x, tsLocalPos.y, num);
topStructure.localPosition = pos;
_number.transform.localPosition = pos + Vector3.forward * numberAddHeight;
var numPos = new Vector3(numberTextPosition.x, numberTextPosition.y, num + numberAddHeight);
_number.transform.localPosition = numPos;
var high = num - msLocalScale.z;
structureSurround.localPosition = new Vector3(ssLocalPos.x, ssLocalPos.y, ssLocalPos.z - high);
@@ -206,12 +221,14 @@ namespace ZMS.Configura
public void ShowOutline(bool show)
{
if (show)
meshRenderer.materials[0].CopyPropertiesFromMaterial(materialSelectBob);
_meshRenderer.materials[0].CopyPropertiesFromMaterial(materialSelectBob);
else
meshRenderer.materials[0].CopyPropertiesFromMaterial(materialNotSelectBob);
_meshRenderer.materials[0].CopyPropertiesFromMaterial(materialNotSelectBob);
fenceLine.SetActive(show && ConfigFenceOutlineValid);
bodyLine.SetActive(show && ConfigOutlineValid);
if (fenceLine != null)
fenceLine.SetActive(show && ConfigFenceOutlineValid);
if (bodyLine != null)
bodyLine.SetActive(show && ConfigOutlineValid);
}
/// <summary>

View File

@@ -7,9 +7,12 @@ using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Exoa.Cameras;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.Serialization;
using XericLibrary.Runtime.MacroLibrary;
using ZMS.CamareCustomUSE;
using ZMS.Configura;
using ZMS.UI;
using QualityLevel = Quality.QualityLevel;
@@ -75,10 +78,62 @@ namespace ZMS.TCPMassage
void Start()
{
StartCoroutine(Reconnect());
StartCoroutine(StartAttention());
}
#endregion
#region <EFBFBD><EFBFBD>ʼ<EFBFBD>۽<EFBFBD>
private IEnumerator StartAttention()
{
var toggle = DownUI.Inst.GetActiveSelectTowerToggle();
// һ<><D2BB><EFBFBD>˳<EFBFBD><CBB3>ķ<EFBFBD><C4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵҲ<CAB5>ò<EFBFBD><C3B2>ţ<EFBFBD><C5A3><EFBFBD>Ϊ<EFBFBD><CEAA>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6>ǵ<EFBFBD>ǰ<EFBFBD>Ѿ<EFBFBD><D1BE>۽<EFBFBD><DBBD><EFBFBD>Ŀ<EFBFBD>
// ֻ<><D6BB>Ϊ<EFBFBD><CEAA><EFBFBD>һ<E1B9A9><D2BB><EFBFBD>Ӿ<EFBFBD><D3BE>ϵĸ<CFB5><C4B8><EFBFBD>
bool CheckToggle()
{
if (toggle != DownUI.Inst.GetActiveSelectTowerToggle())
{
ScreenPromptMessageManager.Inst.GenMessage($"<22><>ȡ<EFBFBD><C8A1><EFBFBD>Զ<EFBFBD><D4B6>۽<EFBFBD>");
return true;
}
return false;
}
yield return null;
ScreenPromptMessageManager.Inst.GenMessage($"<22><><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>۽<EFBFBD><DBBD><EFBFBD>Ĭ<EFBFBD><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
yield return new WaitForSeconds(1);
if (CheckToggle())
yield break;
ScreenPromptMessageManager.Inst.GenMessage($"3");
yield return new WaitForSeconds(1);
if (CheckToggle())
yield break;
ScreenPromptMessageManager.Inst.GenMessage($"2");
yield return new WaitForSeconds(1);
if (CheckToggle())
yield break;
ScreenPromptMessageManager.Inst.GenMessage($"1");
yield return new WaitForSeconds(1);
if (CheckToggle())
yield break;
// <20><>ʼʱ<CABC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ζ<EFBFBD><CEB6>۽<EFBFBD><DBBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
toggle = DownUI.Inst.GetActiveSelectTowerToggle();
toggle.SetToggleOn();
Debug.Log("<22>۽<EFBFBD><DBBD><EFBFBD>"+toggle);
TowerCraneControlManager.AttentionTowerSafely(toggle);
CameraPointWinding.Inst.FocusTarget(toggle.towerParasiteIns.focusTarget,
focusEndDo: () =>
{
CameraPointWinding.Inst.GlobalView();
});
}
#endregion
#region <EFBFBD><EFBFBD><EFBFBD>ӷ<EFBFBD><EFBFBD><EFBFBD>
/// <summary>
@@ -170,8 +225,6 @@ namespace ZMS.TCPMassage
try
{
// ClearMessage();
MessageData = JsonConvert.DeserializeObject<MessageData>(data);
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>Ӧ<EFBFBD>ã<EFBFBD><C3A3><EFBFBD>ô<EFBFBD><C3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@@ -210,7 +263,7 @@ namespace ZMS.TCPMassage
if (!doOnce)
{
doOnce = true;
InitializeAllTowerConfigs();
InitializeAllTowerConfigs(MessageData);
if (!UpdateAllTowerAndBuildingData(MessageData))
// <20>״β<D7B4><CEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Σ<EFBFBD><CEA3><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>ˢ<EFBFBD><CBA2>
ForceRefreshAllTowerSetting();
@@ -228,7 +281,7 @@ namespace ZMS.TCPMassage
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD>ʼ<EFBFBD><CABC>
/// </summary>
private void InitializeAllTowerConfigs()
public void InitializeAllTowerConfigs(MessageData messageData)
{
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƿ<EFBFBD><C6BF><EFBFBD><E6BBAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڣ<EFBFBD><DAA3><EFBFBD>Ҫģ<D2AA><C4A3>
Debug.Log("<22><>ʼ<EFBFBD><CABC>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" + TowerCraneControlManager.AllTowers.Count);
@@ -236,7 +289,7 @@ namespace ZMS.TCPMassage
for (int i = TowerCraneControlManager.AllTowers.Count - 1; i >= 0; i--)
{
var towerRealIndex = TowerCraneControlManager.AllTowers[i].TowerRealIndex;
var indexSelect = MessageData.timer_data.FindIndex(x => x.code == towerRealIndex);
var indexSelect = messageData.timer_data.FindIndex(x => x.code == towerRealIndex);
var hasData = indexSelect >= 0;
DownUI.GetInstActiveTowerToggleByIndex(towerRealIndex)?
@@ -390,7 +443,7 @@ namespace ZMS.TCPMassage
towerCraneControlManager.SetHookImplicitSizeRealTime(hookSize);
// ֱ<>Ӵ<EFBFBD><D3B4>ݵ<EFBFBD><DDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (configurationTower.load_pivot != Vector3.zero)
towerCraneControlManager.SetGraspingPointion(UnitRW2W(configurationTower.load_pivot));
towerCraneControlManager.SetGraspingPosition(UnitRW2W(configurationTower.load_pivot));
// <20><><EFBFBD><EFBFBD>
towerCraneControlManager.UpdateBasicGeometry();
@@ -418,8 +471,10 @@ namespace ZMS.TCPMassage
yield return new WaitForSeconds(0.5f);
Debug.Log("ǿ<><C7BF>ˢ<EFBFBD>½<EFBFBD><C2BD><EFBFBD>");
DownUI.GetInstActiveSelectTowerToggle(out var t1);
TowerCraneControlManager.InattentionTower();
if (DownUI.GetInstActiveSelectTowerToggle(out var t1))
if (t1 != null)
TowerCraneControlManager.AttentionTowerSafely(t1);
yield return new WaitForSeconds(0.1f);
@@ -453,7 +508,7 @@ namespace ZMS.TCPMassage
/// <param name="configurationBuilding"></param>
private void UpdateBuildingStructParam(ConfigurationBuildingData configurationBuilding)
{
var buildingControl = rightUI.constructConfs.Find
var buildingControl = BuildingControl.AllBuilds.Find
(x => x.code == configurationBuilding.code);
if (buildingControl == null) return;
@@ -464,7 +519,6 @@ namespace ZMS.TCPMassage
buildingControl.SetConfig(configurationBuilding.height, configurationBuilding.fence_Height, configurationBuilding.fence_point_height);
// Debug.Log($"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{configurationBuilding.code} <20>߶<EFBFBD>{configurationBuilding.height}");
}

View File

@@ -3,7 +3,7 @@ using System.Collections;
using System.Collections.Generic;
using LRC;
using UnityEngine;
using XericLibrary.Runtime.CustomDrawer;
using XericLibrary.Runtime.CustomEditor;
namespace ZMS.TCPMassage
{
@@ -34,83 +34,83 @@ namespace ZMS.TCPMassage
[Serializable]
public class RealTimeTowerData : IConfiguration
{
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public int code; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
[ReName("ͨѶ<CDA8>澯")]
[Rename("ͨѶ<CDA8>澯")]
public bool alarm; //plcͨѶ<CDA8>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>Ƕ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>Ƕ<EFBFBD>")]
public float arm_angle; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD>Ƕ<EFBFBD>
[ReName("С<><D0A1><EFBFBD>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1><EFBFBD>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD>")]
public float carry_Distance; //С<><D0A1><EFBFBD>н<EFBFBD><D0BD><EFBFBD><EFBFBD><EFBFBD>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>")]
public float hook_Height; //<2F><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>
[ReName("<22>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>")]
[Rename("<22>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>")]
public bool load_switch; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD>
[ReName("Ŀ<><C4BF><EFBFBD>Ƕ<EFBFBD>")]
[Rename("Ŀ<><C4BF><EFBFBD>Ƕ<EFBFBD>")]
public float arm_dest_angle; //Ŀ<><C4BF><EFBFBD>Ƕ<EFBFBD>
[ReName("Ŀ<><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("Ŀ<><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public float carry_dest_distance; //Ŀ<><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
[ReName("Ŀ<><C4BF><EFBFBD>߶<EFBFBD>")]
[Rename("Ŀ<><C4BF><EFBFBD>߶<EFBFBD>")]
public float hook_dest_height; //Ŀ<><C4BF><EFBFBD>߶<EFBFBD>
}
[Serializable]
public class ConfigurationTowerData : IConfiguration
{
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public int code; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[FieldHelp("ע<><EFBFBD><E2A3BA><EFBFBD>ڹ<EFBFBD>עʱ<EFBFBD><EFBFBD>Ч<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD><EFBFBD>²<EFBFBD><EFBFBD>ָ澯<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧЧ<EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[FieldHelp("ע<><EFBFBD><E2A3BA><EFBFBD>ܵ<EFBFBD><DCB5>²<EFBFBD><C2B2>ָ澯<D6B8><E6BEAF><EFBFBD><EFBFBD>ʧЧ<CAA7><D0A7><EFBFBD>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><EFBFBD>")]
public bool hide; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
[ReName("<22><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>")]
[Rename("<22><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>")]
public VectorCustom3 site_position; //<2F><><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>")]
public float height; //<2F><><EFBFBD><EFBFBD><EFBFBD>߶<EFBFBD>
[ReName("<22><><EFBFBD>ر۳<D8B1><DBB3><EFBFBD>")]
[Rename("<22><><EFBFBD>ر۳<D8B1><DBB3><EFBFBD>")]
public float lifting_arm_length; //<2F><><EFBFBD>ر۳<D8B1><DBB3><EFBFBD>
[ReName("ƽ<><C6BD><EFBFBD>۳<EFBFBD><DBB3><EFBFBD>")]
[Rename("ƽ<><C6BD><EFBFBD>۳<EFBFBD><DBB3><EFBFBD>")]
public float balance_arm_length; //ƽ<><C6BD><EFBFBD>۳<EFBFBD><DBB3><EFBFBD>
[ReName("С<><D0A1><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>")]
[Rename("С<><D0A1><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>")]
public float carry_shifting_Distance; //С<><D0A1><EFBFBD><EFBFBD>׼<EFBFBD><D7BC><EFBFBD><EFBFBD>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public float load_rope_length; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>")]
public VectorCustom3 load_pivot; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>
[ReName("<22><><EFBFBD><EFBFBD><EFB3AF>")]
[Rename("<22><><EFBFBD><EFBFBD><EFB3AF>")]
public VectorCustom3 load_toward; //<2F><><EFBFBD><EFBFBD><EFB3AF>
[ReName("<22><><EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD>")]
[Rename("<22><><EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD>")]
public VectorCustom3 load_size; //<2F><><EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD>
}
[Serializable]
public class ConfigurationBuildingData : IConfiguration
{
[ReName("¥<><C2A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("¥<><C2A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public int code; //<2F><><EFBFBD><EFBFBD>
[ReName("¥<><C2A5>λ<EFBFBD><CEBB>")]
[Rename("¥<><C2A5>λ<EFBFBD><CEBB>")]
public VectorCustom3 site_position = new VectorCustom3(); //¥<><C2A5>λ<EFBFBD><CEBB>
[ReName("¥<><C2A5><EFBFBD>߶<EFBFBD>")]
[Rename("¥<><C2A5><EFBFBD>߶<EFBFBD>")]
public float height; //¥<><C2A5><EFBFBD>߶<EFBFBD>
[ReName("Χ<><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
[Rename("Χ<><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public bool fence_switch; //Χ<><CEA7><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>
[ReName("Χ<><CEA7><EFBFBD>߶<EFBFBD>λ<EFBFBD><CEBB>")]
[Rename("Χ<><CEA7><EFBFBD>߶<EFBFBD>λ<EFBFBD><CEBB>")]
public float fence_point_height; //Χ<><CEA7>λ<EFBFBD>ø߶<C3B8>
[ReName("Χ<><CEA7><EFBFBD>߶<EFBFBD>")]
[Rename("Χ<><CEA7><EFBFBD>߶<EFBFBD>")]
public float fence_Height; //Χ<><CEA7><EFBFBD>߶<EFBFBD>
}
[Serializable]

View File

@@ -110,13 +110,11 @@ namespace TowerCrane.SocketTest
{
//接收塔机实际数据
var TowerData = JsonConvert.DeserializeObject<MessageEntry<TowerData>>(e.Data);
}
else if (dataBase.EventName == "event_towerConfiguration")
{
//接收塔机配置数据
var TowerData = JsonConvert.DeserializeObject<MessageEntry<TowerConfiguration>>(e.Data);
}
}
/// <summary>

View File

@@ -45,12 +45,12 @@ namespace Quality
// QualitySettings.softParticles = false;
// 实时反射探针
// QualitySettings.realtimeReflectionProbes = false;
//
// QualitySettings.billboardsFaceCameraPosition = false;
// 软硬阴影
QualitySettings.shadows = ShadowQuality.Disable;
// 设置垂直同步方案VSyncs数值需要在每帧之间传递使用0为不等待垂直同步。值必须是01或2。
// QualitySettings.vSyncCount = 0;
QualitySettings.vSyncCount = 0;
// 目标帧率
Application.targetFrameRate = 30;
QualitySettings.SetQualityLevel(3);
@@ -63,7 +63,7 @@ namespace Quality
// QualitySettings.realtimeReflectionProbes = true;
// QualitySettings.billboardsFaceCameraPosition = true;
QualitySettings.shadows = ShadowQuality.HardOnly;
// QualitySettings.vSyncCount = 1;
QualitySettings.vSyncCount = 1;
Application.targetFrameRate = 60;
QualitySettings.SetQualityLevel(2);
break;
@@ -74,8 +74,8 @@ namespace Quality
// QualitySettings.realtimeReflectionProbes = true;
// QualitySettings.billboardsFaceCameraPosition = true;
QualitySettings.shadows = ShadowQuality.All;
// QualitySettings.vSyncCount = 2;
Application.targetFrameRate = 120;
QualitySettings.vSyncCount = 2;
Application.targetFrameRate = 60;
QualitySettings.SetQualityLevel(1);
break;
}

View File

@@ -42,7 +42,7 @@ GraphicsSettings:
m_PreloadedShaders: []
m_PreloadShadersBatchTimeLimit: -1
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_CustomRenderPipeline: {fileID: 0}
m_CustomRenderPipeline: {fileID: 11400000, guid: c547291e3ab79424d95cb676523d9bac, type: 2}
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
m_DefaultRenderingPath: 1

View File

@@ -138,7 +138,8 @@ PlayerSettings:
16:9: 1
Others: 1
bundleVersion: 0.4.0
preloadedAssets: []
preloadedAssets:
- {fileID: 11400000, guid: 9e7be553448fa2546aea5752021cbcf7, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
@@ -276,7 +277,7 @@ PlayerSettings:
m_BuildTargetPlatformIcons: []
m_BuildTargetBatching:
- m_BuildTarget: Standalone
m_StaticBatching: 1
m_StaticBatching: 0
m_DynamicBatching: 0
m_BuildTargetShaderSettings: []
m_BuildTargetGraphicsJobs:

View File

@@ -150,6 +150,4 @@ QualitySettings:
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 11400000, guid: 168a2336534e4e043b2a210b6f8d379a, type: 2}
excludedTargetPlatforms: []
m_PerPlatformDefaultQuality:
Server: 0
Standalone: 0
m_PerPlatformDefaultQuality: {}