更新平面图采样方法,以及塔机的关闭与现实方法

This commit is contained in:
2023-12-11 14:16:02 +08:00
parent 9953a07b50
commit 93f6618384
27 changed files with 2052 additions and 440 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator" vcs="Git" />
<mapping directory="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary" vcs="Git" />
</component>

View File

@@ -5,16 +5,27 @@
</component>
<component name="ChangeListManager">
<list default="true" id="daf2f20f-cec5-4df6-9f50-2b8f79af7b7d" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.TowerCraneVisualization_HDRP_master/.idea/vcs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.TowerCraneVisualization_HDRP_master/.idea/vcs.xml" 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/LRC/Font/DIN-PRO/D-DIN-PRO-700-Bold SDF.asset" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Font/DIN-PRO/D-DIN-PRO-700-Bold SDF.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Prefab/TowerCrane/TowerCrane_1.5.prefab" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Prefab/TowerCrane/TowerCrane_1.5.prefab" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Prefab/TowerCrane/TowerCrane_1.prefab" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Prefab/TowerCrane/TowerCrane_1.prefab" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/DTFile.cs" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/DTFile.cs.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerAreaSampleContorller.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerAreaSampleController.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerAreaSampleContorller.cs.meta" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerAreaSampleController.cs.meta" 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/TowerLabel.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/TowerCrane/TowerLabel.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/UI/basePanle/CollisionIndoRmationManager.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/LRC/Scripts/UI/basePanle/CollisionIndoRmationManager.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/dll/TowerCraneVisualization_DLL.dll.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/LRC/Scripts/dll/TowerCraneVisualization_DLL.pdb.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/PrefabEditingSceneOld.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/PrefabEditingSceneOld.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/3D/Configuration/ConstructConf.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/3D/Configuration/ConstructConf.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/ZMS/Script/3D/Configuration/QTZConf.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/ZMS/Script/3D/Configuration/QTZConf.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/Runtime/Script/DDDIndicatorLib.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/Runtime/Script/DDDIndicatorLib.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/Runtime/Script/Draw/IndicatorRayTrace.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/Runtime/Script/Draw/IndicatorRayTrace.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/Runtime/Shader/HDRP/BoxIndicator/BoxCrisperding_SG.shadergraph" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/Runtime/Shader/HDRP/BoxIndicator/BoxCrisperding_SG.shadergraph.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Type/Screen/CanvasZoomAdjustmentBase.cs" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Type/Screen/CanvasZoomAdjustmentBase.cs.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Type/Screen/CanvasZoomStart.cs" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Type/Screen/CanvasZoomStart.cs.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Visual/ShaderFunc/Color/Desaturate.shadersubgraph" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Packages/com.lrss3.xericlibrary/Runtime/Visual/ShaderFunc/Color/Desaturate.shadersubgraph.meta" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -22,14 +33,15 @@
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/Packages/com.lrss3.debugdimensiondrawindicator" />
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
<option name="ROOT_SYNC" value="DONT_SYNC" />
</component>
<component name="HighlightingSettingsPerFile">
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/3b18519be5f3486abcce4fd34ea6dcd915d800/50/c6509578/MonoBehaviour.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/3b18519be5f3486abcce4fd34ea6dcd915d800/9e/b464fa63/Screen.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/3b18519be5f3486abcce4fd34ea6dcd915d800/cc/42676668/ShimManager.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/c4028c77f18a4bcdab717145bfc7d7bf16600/2e/190cdfad/ButtonAttribute.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/../CloudPointTest/Packages/com.lrss3.longrangecloudpoint/Runtime/Flie/Ply3dFlie.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Material/HDRP_Shader/effect2d/Decal_CircleWave_SD.shader" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/LRC/Scripts/UI/element/SamplePanle/SpPointCarSet.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Settings.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Library/PackageCache/com.unity.visualeffectgraph@13.1.9/Editor/Models/VFXGraph.cs" root0="SKIP_HIGHLIGHTING" />
@@ -52,12 +64,12 @@
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"git-widget-placeholder": "master",
"git-widget-placeholder": "LRC",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"settings.editor.selected.configurable": "preferences.build.unityPlugin",
"settings.editor.selected.configurable": "com.github.caijh.plugin.intelij.background.image",
"vue.rearranger.settings.migration": "true"
},
"keyToStringList": {
@@ -147,6 +159,7 @@
<workItem from="1702001579232" duration="7040000" />
<workItem from="1702018845051" duration="2426000" />
<workItem from="1702103746735" duration="5320000" />
<workItem from="1702254341029" duration="16643000" />
</task>
<servers />
</component>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,283 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2388182342608250017
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 12
hdPluginSubTargetMaterialVersions:
m_Keys: []
m_Values:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: TextureFront_Mat
m_Shader: {fileID: -6465566751694194690, guid: ad16349169d395e4b85b36a7a423a391, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISABLE_SSR_TRANSPARENT
m_InvalidKeywords:
- _NORMALMAP_TANGENT_SPACE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2225
stringTagMap:
MotionVector: User
disabledShaderPasses:
- TransparentDepthPrepass
- TransparentDepthPostpass
- TransparentBackface
- RayTracingPrepass
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AnisotropyMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BentNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BentNormalMapOS:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _CoatMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissiveColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _GatherTexture2D_aa8726dd36b74d288abf6c03f1d85f00_Texture_1:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _HeightMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _IridescenceMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _IridescenceThicknessMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NormalMapOS:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecularColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SubsurfaceMaskMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TangentMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TangentMapOS:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Texture2DAsset_7f798ab7d14e46c6b18ac2f16071fb96_Out_0:
m_Texture: {fileID: 2800000, guid: f8b5d335664c21d4a8265b2e56a59499, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ThicknessMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TransmittanceColorMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AORemapMax: 1
- _AORemapMin: 0
- _ATDistance: 1
- _AddPrecomputedVelocity: 0
- _AlbedoAffectEmissive: 0
- _AlphaCutoff: 0.5
- _AlphaCutoffEnable: 0
- _AlphaCutoffPostpass: 0.5
- _AlphaCutoffPrepass: 0.5
- _AlphaCutoffShadow: 0.5
- _AlphaDstBlend: 0
- _AlphaSrcBlend: 1
- _AlphaToMask: 0
- _AlphaToMaskInspectorValue: 0
- _Anisotropy: 0
- _BlendMode: 0
- _CoatMask: 0
- _ConservativeDepthOffsetEnable: 0
- _CullMode: 2
- _CullModeForward: 2
- _Cutoff: 0.5
- _DepthOffsetEnable: 0
- _DetailAlbedoScale: 1
- _DetailNormalScale: 1
- _DetailSmoothnessScale: 1
- _DiffusionProfile: 0
- _DiffusionProfileHash: 0
- _DisplacementLockObjectScale: 1
- _DisplacementLockTilingScale: 1
- _DisplacementMode: 0
- _DoubleSidedEnable: 0
- _DoubleSidedGIMode: 0
- _DoubleSidedNormalMode: 1
- _DstBlend: 0
- _EmissiveColorMode: 1
- _EmissiveExposureWeight: 1
- _EmissiveIntensity: 1
- _EmissiveIntensityUnit: 0
- _EnableBlendModePreserveSpecularLighting: 1
- _EnableFogOnTransparent: 1
- _EnableGeometricSpecularAA: 0
- _EnergyConservingSpecularColor: 1
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0
- _HeightMax: 1
- _HeightMin: -1
- _HeightOffset: 0
- _HeightPoMAmplitude: 2
- _HeightTessAmplitude: 2
- _HeightTessCenter: 0.5
- _InvTilingScale: 1
- _Ior: 1.5
- _IridescenceMask: 1
- _IridescenceThickness: 1
- _LinkDetailsWithBase: 1
- _MaterialID: 1
- _Metallic: 0
- _MetallicRemapMax: 1
- _MetallicRemapMin: 0
- _NormalMapSpace: 0
- _NormalScale: 1
- _OpaqueCullMode: 2
- _PPDLodThreshold: 5
- _PPDMaxSamples: 15
- _PPDMinSamples: 5
- _PPDPrimitiveLength: 1
- _PPDPrimitiveWidth: 1
- _RayTracing: 0
- _ReceivesSSR: 1
- _ReceivesSSRTransparent: 0
- _RefractionModel: 0
- _RenderQueueType: 1
- _RequireSplitLighting: 0
- _Smoothness: 0.5
- _SmoothnessRemapMax: 1
- _SmoothnessRemapMin: 0
- _SpecularAAScreenSpaceVariance: 0.1
- _SpecularAAThreshold: 0.2
- _SpecularOcclusionMode: 1
- _SrcBlend: 1
- _StencilRef: 0
- _StencilRefDepth: 8
- _StencilRefDistortionVec: 4
- _StencilRefGBuffer: 10
- _StencilRefMV: 40
- _StencilWriteMask: 6
- _StencilWriteMaskDepth: 8
- _StencilWriteMaskDistortionVec: 4
- _StencilWriteMaskGBuffer: 14
- _StencilWriteMaskMV: 40
- _SubsurfaceMask: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1
- _Thickness: 1
- _TransmissionEnable: 1
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
- _TransparentDepthPrepassEnable: 0
- _TransparentSortPriority: 0
- _TransparentWritingMotionVec: 0
- _TransparentZWrite: 0
- _UVBase: 0
- _UVDetail: 0
- _UVEmissive: 0
- _UseEmissiveIntensity: 0
- _UseShadowThreshold: 0
- _ZTestDepthEqualForOpaque: 3
- _ZTestGBuffer: 4
- _ZTestTransparent: 4
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: ad16349169d395e4b85b36a7a423a391
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

View File

@@ -0,0 +1,101 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3637531563265884417
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3637531563265884422}
- component: {fileID: 3637531563265884420}
- component: {fileID: 3637531563265884423}
- component: {fileID: 3637531562742923381}
m_Layer: 22
m_Name: Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3637531563265884422
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3637531563265884417}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 3, y: 1, z: 3}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3637531563265884420
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3637531563265884417}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &3637531563265884423
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3637531563265884417}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 1
m_DynamicOccludee: 0
m_StaticShadowCaster: 0
m_MotionVectors: 2
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 712e276f2a87e50469a99a48a6bc190f, 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!114 &3637531562742923381
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3637531563265884417}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 816e46c27a45ea542abbc0b0505a9cac, type: 3}
m_Name:
m_EditorClassIdentifier:
_tower: {fileID: 0}
MainAreaMaterial: {fileID: 0}
ConflictingColors: {r: 1, g: 1, b: 1, a: 1}

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 9116b851b30e0b845a9aaf53089db9c9
DefaultImporter:
guid: d3f05504ef31eb243aa1ccab6463eb21
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:

View File

@@ -2657,7 +2657,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 816e46c27a45ea542abbc0b0505a9cac, type: 3}
m_Name:
m_EditorClassIdentifier:
target: {fileID: 2656345868790764519}
_tower: {fileID: 0}
MainAreaMaterial: {fileID: 0}
ConflictingColors: {r: 1, g: 1, b: 1, a: 1}
--- !u!1 &29899207053490219
@@ -3713,7 +3713,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &8827706446110604527
Transform:
m_ObjectHideFlags: 0
@@ -3734,7 +3734,7 @@ Transform:
- {fileID: 1250986892925731329}
- {fileID: 5918313468060258596}
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2656345868790764519
MonoBehaviour:
@@ -3811,10 +3811,11 @@ MonoBehaviour:
CargoVisibalNode_Transform: {fileID: 1419398656575889342}
CargoUnvisibalOffset: 1
Material: {fileID: 2100000, guid: 04c6714997bce044993348aa2d6de2de, type: 2}
AreaContorller: {fileID: 1102593511}
areaController: {fileID: 1102593511}
DiscolorTime: 1
DiscolorMix: 1
IndicatorPrefb: {fileID: 8709884529361975626, guid: 8bb5c95633405974583197bc36c6b405, type: 3}
areaIndicatorPrefb: {fileID: 3637531563265884417, guid: d3f05504ef31eb243aa1ccab6463eb21, type: 3}
TargetCargo_GamoObject: {fileID: 8980177672585297972}
tower3DPoint: {fileID: 4426713250786618181}
--- !u!114 &4674610176545573988

View File

@@ -624,15 +624,15 @@ MonoBehaviour:
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
rgba: 4293232960
m_fontColor: {r: 0.2494215, g: 0.53825694, b: 0.8962264, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_colorMode: 0
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
topLeft: {r: 1, g: 0, b: 0, a: 1}
topRight: {r: 1, g: 0, b: 0, a: 1}
bottomLeft: {r: 1, g: 0, b: 0, a: 1}
bottomRight: {r: 1, g: 0, b: 0, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
@@ -870,7 +870,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 816e46c27a45ea542abbc0b0505a9cac, type: 3}
m_Name:
m_EditorClassIdentifier:
target: {fileID: 2656345868790764519}
_tower: {fileID: 2656345868790764519}
MainAreaMaterial: {fileID: 0}
ConflictingColors: {r: 1, g: 1, b: 1, a: 1}
--- !u!1 &29899207053490219
@@ -896,7 +896,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 29899207053490219}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalRotation: {x: -0, y: -0.19080894, z: -0, w: 0.9816273}
m_LocalPosition: {x: 0, y: 5, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@@ -1953,10 +1953,11 @@ MonoBehaviour:
CargoVisibalNode_Transform: {fileID: 1419398656575889342}
CargoUnvisibalOffset: 1
Material: {fileID: 2100000, guid: 04c6714997bce044993348aa2d6de2de, type: 2}
AreaContorller: {fileID: 1102593511}
DiscolorTime: 1
areaController: {fileID: 1102593511}
DiscolorTime: 2
DiscolorMix: 1
IndicatorPrefb: {fileID: 8709884529361975626, guid: 8bb5c95633405974583197bc36c6b405, type: 3}
areaIndicatorPrefb: {fileID: 3637531563265884417, guid: d3f05504ef31eb243aa1ccab6463eb21, type: 3}
TargetCargo_GamoObject: {fileID: 8980177672585297972}
tower3DPoint: {fileID: 4426713250786618181}
--- !u!1 &904100604396642712
@@ -3500,8 +3501,8 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@@ -3509,7 +3510,7 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
m_PixelsPerUnitMultiplier: 30
--- !u!114 &1270880198
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@@ -1,18 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TowerCraneVisualization_DLL;
public class DTFile
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

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

View File

@@ -1,113 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DDDInducator.Runtime;
using DDDInducator.Runtime.Type;
using UnityEngine;
namespace LRC
{
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Χָʾ<D6B8><CABE>
/// </summary>
public class TowerAreaSampleContorller : MonoBehaviour
{
#region <EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public TowerCraneControlManager target;
/// <summary>
/// <20><>Ҫ<EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>Ŀ<EFBFBD><C4BF>
/// </summary>
public Material MainAreaMaterial;
public Color ConflictingColors = Color.black;
public Color SelectColor => new Color(66f / 255, 185f / 255, 1, 238f / 255);
public Color IntersectionColor => new Color(0, 126f / 255, 1, 200f / 255);
public Color DefualtColor => new Color(116f / 255, 116f / 255, 116f / 255, 200f / 255);
public Color LineSelectColor => new Color(0, 200f / 255, 200f / 255);
public Color LineDefualtColor => new Color(200f / 255, 200f / 255, 200f / 255);
#endregion
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public void Awake()
{
MainAreaMaterial = GetComponent<MeshRenderer>()?.material;
ConflictingColors = IntersectionColor;
}
public void Update()
{
SetArea();
int level = 0;
foreach (var target in target.regulatoryList)
if (target is TowerInvadeCap cap)
level = Mathf.Max(level, (int)cap.TerminalLevel());
ConflictingColors = level == 0 ? IntersectionColor : ((WarningLevel)level + 1).LevelColor();
MainAreaMaterial
.SetColor("_IntersectionColor", ConflictingColors);
}
#endregion
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
private void SetArea()
{
MainAreaMaterial
.SetFloat("_Enable", 1);
MainAreaMaterial
.SetFloat("_Range_Main", target.RockerArmAbsRange);
TowerCraneControlManager targetTower;
for (int i = 0; i < target.maxProximityTowerCount; i++)
{
if(i < target.proximityTowers.Count)
{
targetTower = target.proximityTowers[i];
MainAreaMaterial
.SetVector($"_Pos_{i + 1}", (Quaternion.Inverse(transform.rotation) * (targetTower.transform.position - transform.position)) + transform.position);
MainAreaMaterial
.SetFloat($"_Range_{i + 1}", targetTower.RockerArmAbsRange);
}
else
{
MainAreaMaterial
.SetVector($"_Pos_{i + 1}", Vector3.zero);
MainAreaMaterial
.SetFloat($"_Range_{i + 1}", -1);
}
}
}
public void SetSelect(bool isSelect)
{
var color = isSelect ? SelectColor : DefualtColor;
var intercolor = isSelect ? ConflictingColors : DefualtColor;
var linecolor = isSelect ? LineSelectColor : LineDefualtColor;
MainAreaMaterial
.SetColor("_ContentColor", color);
MainAreaMaterial
.SetColor("_ContentColor2", color);
MainAreaMaterial
.SetColor("_IntersectionColor", intercolor);
MainAreaMaterial
.SetColor("_LineColor", linecolor);
if(isSelect)
transform.localPosition = new Vector3 (0,0.01f,0);
else
transform.localPosition = Vector3.zero;
}
#endregion
}
}

View File

@@ -0,0 +1,153 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DDDInducator.Runtime;
using DDDInducator.Runtime.Type;
using UnityEngine;
using UnityEngine.Serialization;
namespace LRC
{
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Χָʾ<D6B8><CABE>
/// </summary>
public class TowerAreaSampleController : MonoBehaviour
{
#region <EFBFBD>ֶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
[SerializeField]
private TowerCraneControlManager _tower;
/// <summary>
/// <20><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
private int watchTargetIndex = -1;
public TowerCraneControlManager WatchedTowerTarget
{
get => _tower.ProximityTowers[watchTargetIndex];
}
/// <summary>
/// <20><>Ҫ<EFBFBD>IJ<EFBFBD><C4B2><EFBFBD>Ŀ<EFBFBD><C4BF>
/// </summary>
public Material MainAreaMaterial;
public Color ConflictingColors = Color.black;
public Color SelectColor => new Color(66f / 255, 185f / 255, 1, 238f / 255);
public Color IntersectionColor => new Color(0, 126f / 255, 1, 200f / 255);
public Color DefualtColor => new Color(116f / 255, 116f / 255, 116f / 255, 200f / 255);
public Color LineSelectColor => new Color(0, 200f / 255, 200f / 255);
public Color LineDefualtColor => new Color(200f / 255, 200f / 255, 200f / 255);
#endregion
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public void Awake()
{
MainAreaMaterial = GetComponent<MeshRenderer>()?.material;
ConflictingColors = IntersectionColor;
SetSelect(false);
}
public void Update()
{
SetArea();
var level = 0;
if (watchTargetIndex >= 0)
{
var target = _tower.RegulatoryList
.OfType<TowerInvadeCap>()
.FirstOrDefault(a => a.otherTower == WatchedTowerTarget);
level = (int)target.TerminalLevel();
}
else
{
foreach (var target in _tower.RegulatoryList
.OfType<TowerInvadeCap>())
level = Mathf.Max(level, (int)target.TerminalLevel());
}
//IntersectionColor
ConflictingColors = level == 0 ?
new Color(0,0,0,0) :
((WarningLevel)level + 1).LevelColor(alpha:0.6f);
MainAreaMaterial.SetColor("_IntersectionColor", ConflictingColors);
}
#endregion
#region <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public void Initialized(TowerCraneControlManager tower, int watchTowerIndex = -1)
{
_tower = tower;
watchTargetIndex = watchTowerIndex;
}
private void SetArea()
{
MainAreaMaterial
.SetFloat("_Enable", 1);
MainAreaMaterial
.SetFloat("_Range_Main", _tower.RockerArmAbsRange);
Func<TowerCraneControlManager, Vector3> getTowerLocalInfluenceWorldSpacePoint = a =>
(Quaternion.Inverse(transform.rotation) * (a.transform.position - transform.position)) +
transform.position;
Action<int, Vector3, float> setArea = (Index, pos, range) =>
{
MainAreaMaterial.SetVector($"_Pos_{Index}", pos);
MainAreaMaterial.SetFloat($"_Range_{Index}", range);
};
if (watchTargetIndex >= 0)
goto SignTower;
TowerCraneControlManager targetTower = null;
for (int i = 0; i < TowerCraneControlManager.MaxProximityTowerCount; i++)
{
var readCount = i + 1;
var isvalid = i < _tower.ProximityTowers.Count;
if (isvalid)
targetTower = _tower.ProximityTowers[i];
setArea(readCount,
isvalid ? getTowerLocalInfluenceWorldSpacePoint(targetTower) : Vector3.zero,
isvalid ? targetTower.RockerArmAbsRange : -1);
}
return;
SignTower:
setArea(1,
getTowerLocalInfluenceWorldSpacePoint(WatchedTowerTarget),
WatchedTowerTarget.RockerArmAbsRange);
}
public void SetSelect(bool isSelect)
{
var color = isSelect ? SelectColor : DefualtColor;
var intercolor = isSelect ? ConflictingColors : DefualtColor;
var linecolor = isSelect ? LineSelectColor : LineDefualtColor;
MainAreaMaterial
.SetColor("_ContentColor", new Color(0,0,0,0));
MainAreaMaterial
.SetColor("_ContentColor2", new Color(0,0,0,0));
MainAreaMaterial
.SetColor("_IntersectionColor", intercolor);
MainAreaMaterial
.SetColor("_LineColor", linecolor);
if(isSelect)
transform.localPosition = new Vector3 (0,0.01f,0);
else
transform.localPosition = Vector3.zero;
}
#endregion
}
}

View File

@@ -1,6 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Rendering;
@@ -18,8 +18,9 @@ using DDDInducator.Runtime.Draw;
using DDDInducator.Runtime.Terminal;
using Sirenix.OdinInspector;
using UnityEngine.Serialization;
using ZMS.UI;
using TowerCraneVisualization_DLL;
// using TowerCraneVisualization_DLL;
namespace LRC
{
@@ -82,7 +83,10 @@ namespace LRC
item.ShowStaticIndicator(valid);
item.CargoCamera.gameObject.SetActive(valid);
item.AreaContorller.SetSelect(valid);
// item.AreaContorller.SetSelect(valid);
foreach (var areas in tower._towerSampleAreas)
areas.SetSelect(valid);
}
}
@@ -97,7 +101,10 @@ namespace LRC
{
tower.ShowStaticIndicator(false);
tower.CargoCamera.gameObject.SetActive(false);
tower.AreaContorller.SetSelect(false);
// tower.AreaContorller.SetSelect(false);
foreach (var areas in tower._towerSampleAreas)
areas.SetSelect(false);
}
}
@@ -160,8 +167,8 @@ namespace LRC
/// </summary>
public float TargetProgressRotation
{
get => targetProgressRotate.eulerAngles.y;
set => targetProgressRotate = Quaternion.Euler(0, value, 0);
get => _targetProgressRotate.eulerAngles.y;
set => _targetProgressRotate = Quaternion.Euler(0, value, 0);
}
#endregion
@@ -695,10 +702,12 @@ namespace LRC
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
[FormerlySerializedAs("AreaContorller")]
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><>Χָʾ<D6B8><CABE>")]
[SerializeField]
internal TowerAreaSampleContorller AreaContorller;
[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;
/// <summary>
/// <20><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
@@ -724,6 +733,14 @@ namespace LRC
[SerializeField]
private GameObject IndicatorPrefb;
/// <summary>
/// <20><>ΧָʾԤ<CABE><D4A4><EFBFBD><EFBFBD>
/// </summary>
[FoldoutGroup("<22><>ײָʾ")]
[ReName("<22><>Χָʾ<D6B8><CABE>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>")]
[SerializeField]
private GameObject areaIndicatorPrefb;
/// <summary>
/// <20><><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>
/// </summary>
@@ -746,63 +763,84 @@ namespace LRC
#region ˽<EFBFBD>л<EFBFBD><EFBFBD><EFBFBD>
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Χ<E7B7B6><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
private int TowerWorldIndex = 0;
/// <summary>
/// Ŀ<><C4BF><EFBFBD><EFBFBD>ת
/// </summary>
private Quaternion targetProgressRotate;
/// <summary>
/// Ŀ<><C4BF><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD>ȵ<EFBFBD><C8B5><EFBFBD>Сת<D0A1><D7AA><EFBFBD>Ƕ<EFBFBD>
/// </summary>
private float targetLerpAngle;
private int _towerWorldIndex = 0;
private Quaternion _targetProgressRotate;
private float _targetLerpAngle;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
/// </summary>
internal List<ITerminalTransmission> regulatoryList;
internal List<ITerminalTransmission> RegulatoryList;
/// <summary>
/// <20>ٽ<EFBFBD><D9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
internal List<TowerCraneControlManager> proximityTowers;
/// <summary>
/// <20><><EFBFBD><EFBFBD>ҡ<EFBFBD><D2A1>ָʾ
/// </summary>
internal BoxCollider towerArmCollider;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
/// </summary>
internal List<FriendIndicatorRayTrace> towerTraceList;
internal List<TowerCraneControlManager> ProximityTowers;
private BoxCollider _towerArmCollider;
private List<FriendIndicatorRayTrace> _towerTraceList;
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
internal int maxProximityTowerCount => 5;
internal static int MaxProximityTowerCount => 5;
private Transform _sampleNode = null;
private bool _isSampleNodeValid = false;
private List<TowerAreaSampleController> _towerSampleAreas;
private bool _isTowerSampleAreasValid;
/// <summary>
/// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5>µIJ<C2B5><C4B2><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
internal Transform SampleNode
{
get
{
if (!_isSampleNodeValid)
{
_sampleNode = transform.GetChildren()
.FirstOrDefault(a => a.name == "Sample");
_isSampleNodeValid = _sampleNode != null;
}
return _sampleNode;
}
}
/// <summary>
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD>еIJ<D0B5><C4B2><EFBFBD>ƽ<EFBFBD><C6BD>
/// </summary>
internal List<TowerAreaSampleController> TowerSampleAreas
{
get
{
if (!_isTowerSampleAreasValid)
{
_towerSampleAreas = new List<TowerAreaSampleController>();
_isTowerSampleAreasValid = _towerSampleAreas != null;
}
return _towerSampleAreas;
}
}
/// <summary>
/// <20><><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>
/// </summary>
private Material materialInst;
private Material _materialInst;
/// <summary>
/// <20><EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD>Ӿ<EFBFBD><D3BE><EFBFBD>Ч<EFBFBD><D0A7>
/// </summary>
private bool ShowCargoVisibal;
private bool _showCargoVisibal = true;
/// <summary>
/// <20><><EFBFBD><EFBFBD>
/// </summary>
private float Discoloration
{
get => materialInst.GetFloat("_Discoloration");
set => materialInst.SetFloat("_Discoloration", value);
get => _materialInst.GetFloat("_Discoloration");
set => _materialInst.SetFloat("_Discoloration", value);
}
/// <summary>
@@ -810,8 +848,8 @@ namespace LRC
/// </summary>
private float Gary
{
get => materialInst.GetFloat("_Gary");
set => materialInst.SetFloat("_Gray", value);
get => _materialInst.GetFloat("_Gary");
set => _materialInst.SetFloat("_Gray", value);
}
private bool activeSelect = false;
@@ -875,8 +913,8 @@ namespace LRC
TargetCargo_GamoObject.AddComponent<BoxCollider>();
// <20><>ʼ<EFBFBD><CABC>ʵ<EFBFBD><CAB5>
TowerWorldIndex = AddTowerToManager(this);
towerIndex = TowerWorldIndex;
_towerWorldIndex = AddTowerToManager(this);
towerIndex = _towerWorldIndex;
if (towerRealIndex <= 0)
Debug.LogError($"<22><><EFBFBD><EFBFBD>{name}û<><C3BB>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD>");
towerName = GetTowerName(towerRealIndex);
@@ -888,8 +926,11 @@ namespace LRC
private void Start()
{
GeneratingProximitySets();
InitializeTowerAreaSamplePlanePair();
InitializeTowerIndicator();
ShowStaticIndicator(false);
Destroy(areaController.gameObject);
}
private void Update()
@@ -1092,7 +1133,7 @@ namespace LRC
private void UpdateArmRotate()
{
RockerArm_Transform.rotation = Quaternion
.RotateTowards(RockerArm_Transform.rotation, targetProgressRotate, TowerRotateSpeed * Time.deltaTime);
.RotateTowards(RockerArm_Transform.rotation, _targetProgressRotate, TowerRotateSpeed * Time.deltaTime);
TowerRatateAngle = RockerArm_Transform.rotation.eulerAngles.y;
}
@@ -1101,7 +1142,7 @@ namespace LRC
/// </summary>
private void UpdateHookDecline()
{
HookDeclineProgressLength = MacroInching.LinearTowards(HookDeclineProgressLength, HookDeclineLength + (ShowCargoVisibal ? 0 : CargoUnvisibalOffset), HookMoveSpeed * Time.deltaTime);
HookDeclineProgressLength = MacroInching.LinearTowards(HookDeclineProgressLength, HookDeclineLength + (_showCargoVisibal ? 0 : CargoUnvisibalOffset), HookMoveSpeed * Time.deltaTime);
HookDeclineStructureUpdate();
}
@@ -1110,11 +1151,11 @@ namespace LRC
/// </summary>
public void ShowCargo(bool show)
{
ShowCargoVisibal = show;
_showCargoVisibal = show;
CargoVisibalNode_Transform.gameObject.SetActive(show);
for (int i = 0; i < Mathf.Min(regulatoryList.Count, 6); i++)
regulatoryList[i].EnableVisualInformation(show);
for (int i = 0; i < Mathf.Min(RegulatoryList.Count, 6); i++)
RegulatoryList[i].EnableVisualInformation(show);
}
public bool IsCargoVisibalShow()
@@ -1126,10 +1167,6 @@ namespace LRC
#region ָʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// <summary>
/// <20><><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ָʾ<D6B8><CABE>
/// </summary>
/// <returns></returns>
private ITerminalTransmission CreatIndicator()
{
var obj = Instantiate(IndicatorPrefb, transform);
@@ -1138,15 +1175,12 @@ namespace LRC
return termimnal;
}
/// <summary>
/// <20><><EFBFBD>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>ָʾ<D6B8><CABE>
/// </summary>
private ITerminalTransmission AddIndicator()
{
var indicator = CreatIndicator();
if(regulatoryList == null)
regulatoryList = new List<ITerminalTransmission>();
regulatoryList.Add(indicator);
if(RegulatoryList == null)
RegulatoryList = new List<ITerminalTransmission>();
RegulatoryList.Add(indicator);
return indicator;
}
@@ -1172,32 +1206,32 @@ namespace LRC
private void InitializeTowerIndicator()
{
if(towerTraceList == null)
towerTraceList = new List<FriendIndicatorRayTrace>();
if(_towerTraceList == null)
_towerTraceList = new List<FriendIndicatorRayTrace>();
var context = new GameObject("Collider");
if(towerArmCollider == null)
if(_towerArmCollider == null)
{
context.transform.parent = transform;
context.transform.localPosition = Vector3.zero;
towerArmCollider = context.AddComponent<BoxCollider>();
towerArmCollider.size = Vector3.one * 0.1f;
_towerArmCollider = context.AddComponent<BoxCollider>();
_towerArmCollider.size = Vector3.one * 0.1f;
}
for(int i = 0; i < Mathf.Min(proximityTowers.Count, maxProximityTowerCount); i++)
for(int i = 0; i < Mathf.Min(ProximityTowers.Count, MaxProximityTowerCount); i++)
{
var target = AddIndicator();
if(target is FriendIndicatorRayTrace friend)
{
friend.Initialized((Collider)towerArmCollider, Vector3.forward, true, true);
friend.Initialized((Collider)_towerArmCollider, Vector3.forward, true, true);
//friend.MaxTraceLength = 15;
friend.UseMeshTransform = false;
friend.EnableVisualInformation(false);
towerTraceList.Add(friend);
_towerTraceList.Add(friend);
}
var invade = context.AddComponent<TowerInvadeCap>();
invade.tower = this;
invade.otherTower = proximityTowers[i];
regulatoryList.Add(invade);
invade.otherTower = ProximityTowers[i];
RegulatoryList.Add(invade);
}
}
@@ -1210,10 +1244,10 @@ namespace LRC
var frontPoint = getFrontEnd(this).position;
var tailPoint = getTailEnd(this).position;
var thisLine = tailPoint - frontPoint;
for(int i = 0; i < Mathf.Min(towerTraceList.Count, proximityTowers.Count); i++)
for(int i = 0; i < Mathf.Min(_towerTraceList.Count, ProximityTowers.Count); i++)
{
var trace = towerTraceList[i];
var tower = proximityTowers[i];
var trace = _towerTraceList[i];
var tower = ProximityTowers[i];
var otherFrontPoint = getFrontEnd(tower).position;
var otherTailPoint = getTailEnd(tower).position;
var t1 = Mathf.Clamp01(Vector3.Dot(otherFrontPoint - frontPoint, thisLine) / Vector3.Dot(thisLine, thisLine));
@@ -1244,6 +1278,53 @@ namespace LRC
}
}
private TowerAreaSampleController CreatAreaIndicator(int index)
{
var obj = Instantiate(areaIndicatorPrefb, SampleNode);
var controller = obj.GetComponent<TowerAreaSampleController>();
controller.Initialized(this, index);
TowerSampleAreas.Add(controller);
return controller;
}
private void InitializeTowerAreaSamplePlanePair()
{
if (TowerSampleAreas.Count > 0)
foreach (var area in TowerSampleAreas)
Destroy(area.gameObject);
for (int i = 0; i < ProximityTowers.Count; i++)
CreatAreaIndicator(i);
}
/// <summary>
/// <20>Ƿ<EFBFBD>չʾ<D5B9><CABE><EFBFBD><EFBFBD>
/// </summary>
public void ShowTower(bool show)
{
foreach (var area in TowerSampleAreas)
{
var lookMineArea = area.WatchedTowerTarget.TowerSampleAreas
.FirstOrDefault(a => a.WatchedTowerTarget == this);
if (lookMineArea == null)
{
Debug.LogError($"<22>ڽ<EFBFBD><DABD><EFBFBD>չʾʱ<CABE><CAB1>{area.WatchedTowerTarget.towerName}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>{this.towerName}<7D><>֮<EFBFBD><D6AE>Ӧ<EFBFBD>ķ<EFBFBD>Χָʾ<D6B8><CABE>");
continue;
}
lookMineArea.gameObject.SetActive(show);
}
gameObject.SetActive(show);
}
/// <summary>
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>
/// </summary>
/// <returns></returns>
public bool GetTowerActive()
{
return gameObject.activeSelf;
}
#endregion
#region <EFBFBD>ٽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
@@ -1253,8 +1334,8 @@ namespace LRC
/// </summary>
private void GeneratingProximitySets()
{
if(proximityTowers == null)
proximityTowers = new List<TowerCraneControlManager>();
if(ProximityTowers == null)
ProximityTowers = new List<TowerCraneControlManager>();
foreach(var tower in instances)
{
@@ -1263,13 +1344,13 @@ namespace LRC
|| Vector3.Distance(transform.position, tower.transform.position) > IntersectionLength)
continue;
if(proximityTowers.Count >= maxProximityTowerCount)
if(ProximityTowers.Count >= MaxProximityTowerCount)
{
Debug.LogError("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>");
break;
}
proximityTowers.Add(tower);
ProximityTowers.Add(tower);
}
}
@@ -1285,36 +1366,25 @@ namespace LRC
tower3DPoint.gameObject.SetActive(show);
activeSelect = show;
for (int i = 0; i < regulatoryList.Count; i++)
for (int i = 0; i < RegulatoryList.Count; i++)
{
var cargoTarceVisibal = i < 6 && show && ShowCargoVisibal;
var cargoTarceVisibal = i < 6 && show && _showCargoVisibal;
cargoTarceVisibal |= i >= 6 && show;
var friend = regulatoryList[i] as FriendIndicatorRayTrace;
var friend = RegulatoryList[i] as FriendIndicatorRayTrace;
var isFriend = friend != null;
cargoTarceVisibal &= show
&& (!isFriend || (isFriend && !towerTraceList.Contains(friend)));
regulatoryList[i].EnableVisualInformation(cargoTarceVisibal);
&& (!isFriend || (isFriend && !_towerTraceList.Contains(friend)));
RegulatoryList[i].EnableVisualInformation(cargoTarceVisibal);
}
}
/// <summary>
/// <20><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// </summary>
private void InitTowerDiscoloration()
{
materialInst = new Material(Material);
_materialInst = new Material(Material);
foreach(var mesh in transform.GetComponentsInRecursionChildren<MeshRenderer>(6))
{
if(mesh != null
&& mesh.material.name.Substring(0, 5)
== Material.name.Substring(0, 5))
mesh.material = materialInst;
}
mesh.material = _materialInst;
}
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҷ<EFBFBD>
/// </summary>
private void UpdateTowerDiscoloration()
{
if(activeSelect)

View File

@@ -134,9 +134,9 @@ namespace LRC
private WarningLevel GetTowerHighestTerminal()
{
WarningLevel highestLevel = 0;
for(int i = 0; i < TargetTower.regulatoryList.Count; i++)
for(int i = 0; i < TargetTower.RegulatoryList.Count; i++)
{
var level = TargetTower.regulatoryList[i].TerminalLevel();
var level = TargetTower.RegulatoryList[i].TerminalLevel();
if(level > highestLevel)
highestLevel = level;
}
@@ -146,11 +146,11 @@ namespace LRC
private WarningLevel GetTowerHighestTerminal(Action<WarningLevel, Vector3Orientation> synchronizate)
{
WarningLevel highestLevel = 0;
for(int i = 0; i < TargetTower.regulatoryList.Count; i++)
for(int i = 0; i < TargetTower.RegulatoryList.Count; i++)
{
if (!CollisionIndoRmationManager.dirctionPair.TryGetValue(i, out var index))
index = i;
var level = TargetTower.regulatoryList[index].TerminalLevel();
var level = TargetTower.RegulatoryList[index].TerminalLevel();
if(level > highestLevel)
highestLevel = level;
synchronizate(level, (Vector3Orientation)i);

View File

@@ -26,7 +26,7 @@ namespace LRC
public TowerCraneControlManager TargetTowerManager;
[SerializeField]
internal bool AutoFocusTowerTarget;
internal bool AutoFocusTowerTarget = true;
#endregion
@@ -71,6 +71,9 @@ namespace LRC
if(GUILayout.Button("ʹ<><CAB9>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>۽<EFBFBD>"))
TowerCraneControlManager.AttentionTower(script.TargetTowerManager);
if (GUILayout.Button("<22>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч"))
script.TargetTowerManager.ShowTower(!script.TargetTowerManager.GetTowerActive());
if (GUILayout.Button("<22>л<EFBFBD><D0BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ"))
script.TargetTowerManager.ShowCargo(!script.TargetTowerManager.IsCargoVisibalShow());
}

View File

@@ -95,13 +95,13 @@ namespace LRC
if(!targetValid)
return;
for(int i = 0; i < Mathf.Min(target.regulatoryList.Count, 6); i++)
for(int i = 0; i < Mathf.Min(target.RegulatoryList.Count, 6); i++)
{
dirctionPair.TryGetValue(i, out var value);
collidInfos[i].Value =
target.regulatoryList[value].GetTerminalValue();
target.RegulatoryList[value].GetTerminalValue();
collidInfos[i].WarningLevel =
target.regulatoryList[value].TerminalLevel();
target.RegulatoryList[value].TerminalLevel();
}
}

View File

@@ -1,33 +0,0 @@
fileFormatVersion: 2
guid: 87620920b66a0d146979115e46164afe
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -4924,118 +4924,6 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &403178734
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 403178738}
- component: {fileID: 403178737}
- component: {fileID: 403178736}
- component: {fileID: 403178735}
- component: {fileID: 403178739}
m_Layer: 0
m_Name: Plane
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!64 &403178735
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 403178734}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &403178736
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 403178734}
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: 712e276f2a87e50469a99a48a6bc190f, 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!33 &403178737
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 403178734}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &403178738
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 403178734}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.85, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &403178739
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 403178734}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: abea8471b2460594d8ad7d5fb52597a2, type: 3}
m_Name:
m_EditorClassIdentifier:
test: 0
--- !u!1 &416487565
GameObject:
m_ObjectHideFlags: 0
@@ -7621,7 +7509,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
TargetTowerManager: {fileID: 526863411}
AutoFocusTowerTarget: 0
AutoFocusTowerTarget: 1
--- !u!1 &773970656
GameObject:
m_ObjectHideFlags: 0
@@ -12207,6 +12095,14 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4049434798998850925, guid: f1bf336eb63882e4ab726a60c5015d49, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8056616537346236999, guid: f1bf336eb63882e4ab726a60c5015d49, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8827706446110604527, guid: f1bf336eb63882e4ab726a60c5015d49, type: 3}
propertyPath: m_RootOrder
value: 11
@@ -15652,7 +15548,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1.3335
m_ScaleFactor: 0.54
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
@@ -15715,7 +15611,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1688701444}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5e5e480bc8648214891d46b029219a27, type: 3}
m_Name:

View File

@@ -11,10 +11,10 @@ namespace ZMS.Configura
{
public class ConstructConf : SiteConfigura
{
public Transform mainStructure;//¥<EFBFBD><EFBFBD>
public Transform structureUp;//¥<EFBFBD><EFBFBD>
public Transform protection;//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
public Transform discharge;//ж<EFBFBD><EFBFBD>ƽ̨
public Transform mainStructure;//???
public Transform structureUp;//???
public Transform protection;//??????
public Transform discharge;//<2F><>????
public Material material_SelectBOB;
public Material material_NotSelectBOB;
@@ -26,11 +26,10 @@ namespace ZMS.Configura
Coroutine SiteCoroutine;
public override void SetPostionSite()
{
//print("¥<EFBFBD><EFBFBD><EFBFBD>ߴ<EFBFBD>");
//print("?????");
//mainStructure.localScale = new Vector3(dimension_Trf.localScale.x, dimension_Trf.localScale.y, heigthSite);
//protection.localScale = new Vector3(dimension_Trf.localScale.x, dimension_Trf.localScale.y, heigthSite);
}
#if UNITY_EDITOR

View File

@@ -60,6 +60,7 @@ namespace ZMS.Configura
selectLoad.SetActive(false);
notSelectLoad.SetActive(true);
}
return;
for (int i = 0; i < materialList.Count; i++)
{
materialList[i].SetMaterial(b);