From 97ef0972fd2f70d04f836553cc4363710dcc76a9 Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Wed, 22 Jul 2026 16:25:17 +0800 Subject: [PATCH] =?UTF-8?q?art(fixsystem):=20=E8=B0=83=E6=95=B4=E7=89=A9?= =?UTF-8?q?=E7=90=86=E7=BA=BF=E7=BC=86=E8=89=B2=E9=98=B6=E4=B8=8E=E9=AB=98?= =?UTF-8?q?=E5=85=89=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .../Prefabs/FixSystemPrefabs/维修面板.prefab | 18 +++++++-------- Assets/Scenes/YingliFixScene.unity | 19 +++++++--------- .../Scripts/FixSystemNew/Cable/PhysicCable.cs | 22 +++++++++---------- 3 files changed, 28 insertions(+), 31 deletions(-) diff --git a/Assets/Prefabs/FixSystemPrefabs/维修面板.prefab b/Assets/Prefabs/FixSystemPrefabs/维修面板.prefab index f9665829b..7ae8ce31e 100644 --- a/Assets/Prefabs/FixSystemPrefabs/维修面板.prefab +++ b/Assets/Prefabs/FixSystemPrefabs/维修面板.prefab @@ -283,16 +283,16 @@ MonoBehaviour: cableMaterial: {fileID: 0} sortingLayerName: Tools sortingOrder: 47 - darkColor: {r: 0.032, g: 0.085, b: 0.155, a: 1} - darkWidth: 0.32 - bodyColor: {r: 0, g: 0.2, b: 0.373, a: 1} + darkColor: {r: 0.02, g: 0.05, b: 0.09, a: 1} + darkWidth: 0.33 + bodyColor: {r: 0.035, g: 0.135, b: 0.19, a: 1} bodyWidth: 0.26 - midColor: {r: 0.038, g: 0.238, b: 0.345, a: 1} - midWidth: 0.082 - midLift: 0.015 - highlightColor: {r: 0.056, g: 0.248, b: 0.298, a: 1} - highlightWidth: 0.02 - highlightLift: 0.015 + midColor: {r: 0.095, g: 0.255, b: 0.275, a: 1} + midWidth: 0.1 + midLift: 0.028 + highlightColor: {r: 0.18, g: 0.32, b: 0.3, a: 0.75} + highlightWidth: 0.04 + highlightLift: 0.05 tipTaperFraction: 0.08 tipTaperScale: 0.72 overlapMargin: 0.1 diff --git a/Assets/Scenes/YingliFixScene.unity b/Assets/Scenes/YingliFixScene.unity index 07acdb74f..6658dbbc0 100644 --- a/Assets/Scenes/YingliFixScene.unity +++ b/Assets/Scenes/YingliFixScene.unity @@ -1421,19 +1421,16 @@ MonoBehaviour: cableMaterial: {fileID: 0} sortingLayerName: Tools sortingOrder: 47 - shadowColor: {r: 0, g: 0.08, b: 0.16, a: 0.22} - shadowWidth: 0.295 - shadowDrop: 0.12 - darkColor: {r: 0.012, g: 0.055, b: 0.095, a: 1} + darkColor: {r: 0.02, g: 0.05, b: 0.09, a: 1} darkWidth: 0.33 - bodyColor: {r: 0.025, g: 0.135, b: 0.195, a: 1} + bodyColor: {r: 0.035, g: 0.135, b: 0.19, a: 1} bodyWidth: 0.26 - midColor: {r: 0.08, g: 0.25, b: 0.29, a: 1} - midWidth: 0.115 - midLift: 0.036 - highlightColor: {r: 0.16, g: 0.31, b: 0.32, a: 1} - highlightWidth: 0.045 - highlightLift: 0.065 + midColor: {r: 0.095, g: 0.255, b: 0.275, a: 1} + midWidth: 0.1 + midLift: 0.028 + highlightColor: {r: 0.18, g: 0.32, b: 0.3, a: 0.75} + highlightWidth: 0.04 + highlightLift: 0.05 tipTaperFraction: 0 tipTaperScale: 0.72 overlapMargin: 0.1 diff --git a/Assets/Scripts/FixSystemNew/Cable/PhysicCable.cs b/Assets/Scripts/FixSystemNew/Cable/PhysicCable.cs index eed2730c7..0dcf9098c 100644 --- a/Assets/Scripts/FixSystemNew/Cable/PhysicCable.cs +++ b/Assets/Scripts/FixSystemNew/Cable/PhysicCable.cs @@ -68,17 +68,17 @@ public class PhysicCable : MonoBehaviour [SerializeField] private string sortingLayerName = "Tools"; [SerializeField] private int sortingOrder = 47; // 7/7 PixelCableLine step 色阶: Edge → Band Dark → Band Light - // 体色 #00335f;暗部微偏红、亮部微偏黄(贴近 PS 暖调体积),高光约 75% 强度 - [SerializeField] private Color darkColor = new(0.032f, 0.085f, 0.155f, 1f); // 暗面偏暖红 - [SerializeField] private float darkWidth = 0.32f; - [SerializeField] private Color bodyColor = new(0f, 0.2f, 0.373f, 1f); // #00335f - [SerializeField] private float bodyWidth = 0.26f; - [SerializeField] private Color midColor = new(0.038f, 0.238f, 0.345f, 1f); // 中间调微偏黄 - [SerializeField] private float midWidth = 0.082f; - [SerializeField] private float midLift = 0.015f; - [SerializeField] private Color highlightColor = new(0.056f, 0.248f, 0.298f, 1f); // ≈75% 叠在 mid 上的暖高光 - [SerializeField] private float highlightWidth = 0.02f; - [SerializeField] private float highlightLift = 0.015f; + // 暗面轻微偏红、亮面轻微偏黄;反光保持克制,避免线缆体积感过强。 + [SerializeField] private Color darkColor = new(0.02f, 0.05f, 0.09f, 1f); // Edge Outline,微偏红 + [SerializeField] private float darkWidth = 0.33f; // 原型:w+4 + [SerializeField] private Color bodyColor = new(0.035f, 0.135f, 0.19f, 1f); // Band Dark + [SerializeField] private float bodyWidth = 0.26f; // 原型:w=15px ≈ 0.26wu + [SerializeField] private Color midColor = new(0.095f, 0.255f, 0.275f, 1f); // Band Light,微偏黄 + [SerializeField] private float midWidth = 0.10f; // 收窄中亮面,减弱体积感 + [SerializeField] private float midLift = 0.028f; + [SerializeField] private Color highlightColor = new(0.18f, 0.32f, 0.30f, 0.75f); // 高光透明度降低 25% + [SerializeField] private float highlightWidth = 0.04f; + [SerializeField] private float highlightLift = 0.05f; [Header("端部收窄(默认关闭:整根线宽与插头/孔匹配)")] [SerializeField, Range(0f, 0.3f)] private float tipTaperFraction = 0f; // 末端收窄段占全长比例,0 关闭